You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,10 +48,10 @@ new PublicArray(array = [])
48
48
<summary>view properties</summary>
49
49
50
50
#### data: any[] (read-writable)
51
-
###### This is the array to be operated on.
51
+
<small>This is the array to be operated on.</small>
52
52
53
53
#### copy: PublicArray (read-only)
54
-
###### a copy of the PublicArray instance, containing an independent copy of this.data that can be manipulated separately.
54
+
<small>a copy of the PublicArray instance, containing an independent copy of this.data that can be manipulated separately.</small>
55
55
56
56
#### length: number (read-writable)
57
57
###### length of this.data
@@ -558,7 +558,11 @@ append(values: any[]): this
558
558
prepend(values: any[]): this
559
559
// attaches values to beginning of this.data.
560
560
561
-
forEach(iterationFunction): this
561
+
moveByIndex(currentIndex, newIndex): this
562
+
// moves an item, identified by currentIndex, to newIndex.
563
+
// Both currentIndex and newIndex can be negative or positive.
0 commit comments