Skip to content

Commit d1214a5

Browse files
authored
docs: fix REPL help files for unsigned integer arrays
PR-URL: #2283 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent e538d43 commit d1214a5

File tree

4 files changed

+24
-24
lines changed

4 files changed

+24
-24
lines changed

lib/node_modules/@stdlib/array/uint16/docs/repl.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
element1: number (optional)
144144
Array element.
145145

146-
elementN: number (optional)
146+
elementN: ...number (optional)
147147
Array elements.
148148

149149
Returns
@@ -594,7 +594,7 @@
594594
Returns
595595
-------
596596
idx: integer
597-
array index.
597+
Array index.
598598

599599
Examples
600600
--------
@@ -633,7 +633,7 @@
633633
--------
634634
> var arr1 = new {{alias}}( [ 1, 2, 3 ] );
635635
> function fcn( v ) { return v * 2; };
636-
> var arr2 = arr1.map( fcn );
636+
> var arr2 = arr1.map( fcn )
637637
<Uint16Array>[ 2, 4, 6 ]
638638

639639

@@ -730,7 +730,7 @@
730730
Examples
731731
--------
732732
> var arr = new {{alias}}( [ 1, 2, 3 ] )
733-
<Uint16Array>[ 1, 2, 3 ]
733+
<Uint16Array>
734734
> arr.reverse()
735735
<Uint16Array>[ 3, 2, 1 ]
736736

@@ -785,9 +785,9 @@
785785
> arr2.length
786786
2
787787
> arr2[ 0 ]
788-
1
789-
> arr2[ 1 ]
790788
2
789+
> arr2[ 1 ]
790+
3
791791

792792

793793
{{alias}}.prototype.some( predicate[, thisArg] )

lib/node_modules/@stdlib/array/uint32/docs/repl.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
element1: number (optional)
144144
Array element.
145145

146-
elementN: number (optional)
146+
elementN: ...number (optional)
147147
Array elements.
148148

149149
Returns
@@ -594,7 +594,7 @@
594594
Returns
595595
-------
596596
idx: integer
597-
array index.
597+
Array index.
598598

599599
Examples
600600
--------
@@ -633,7 +633,7 @@
633633
--------
634634
> var arr1 = new {{alias}}( [ 1, 2, 3 ] );
635635
> function fcn( v ) { return v * 2; };
636-
> var arr2 = arr1.map( fcn );
636+
> var arr2 = arr1.map( fcn )
637637
<Uint32Array>[ 2, 4, 6 ]
638638

639639

@@ -730,7 +730,7 @@
730730
Examples
731731
--------
732732
> var arr = new {{alias}}( [ 1, 2, 3 ] )
733-
<Uint32Array>[ 1, 2, 3 ]
733+
<Uint32Array>
734734
> arr.reverse()
735735
<Uint32Array>[ 3, 2, 1 ]
736736

@@ -785,9 +785,9 @@
785785
> arr2.length
786786
2
787787
> arr2[ 0 ]
788-
1
789-
> arr2[ 1 ]
790788
2
789+
> arr2[ 1 ]
790+
3
791791

792792

793793
{{alias}}.prototype.some( predicate[, thisArg] )

lib/node_modules/@stdlib/array/uint8/docs/repl.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
element1: number (optional)
144144
Array element.
145145

146-
elementN: number (optional)
146+
elementN: ...number (optional)
147147
Array elements.
148148

149149
Returns
@@ -594,7 +594,7 @@
594594
Returns
595595
-------
596596
idx: integer
597-
array index.
597+
Array index.
598598

599599
Examples
600600
--------
@@ -633,7 +633,7 @@
633633
--------
634634
> var arr1 = new {{alias}}( [ 1, 2, 3 ] );
635635
> function fcn( v ) { return v * 2; };
636-
> var arr2 = arr1.map( fcn );
636+
> var arr2 = arr1.map( fcn )
637637
<Uint8Array>[ 2, 4, 6 ]
638638

639639

@@ -730,7 +730,7 @@
730730
Examples
731731
--------
732732
> var arr = new {{alias}}( [ 1, 2, 3 ] )
733-
<Uint8Array>[ 1, 2, 3 ]
733+
<Uint8Array>
734734
> arr.reverse()
735735
<Uint8Array>[ 3, 2, 1 ]
736736

@@ -785,9 +785,9 @@
785785
> arr2.length
786786
2
787787
> arr2[ 0 ]
788-
1
789-
> arr2[ 1 ]
790788
2
789+
> arr2[ 1 ]
790+
3
791791

792792

793793
{{alias}}.prototype.some( predicate[, thisArg] )

lib/node_modules/@stdlib/array/uint8c/docs/repl.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
element1: number (optional)
144144
Array element.
145145

146-
elementN: number (optional)
146+
elementN: ...number (optional)
147147
Array elements.
148148

149149
Returns
@@ -594,7 +594,7 @@
594594
Returns
595595
-------
596596
idx: integer
597-
array index.
597+
Array index.
598598

599599
Examples
600600
--------
@@ -633,7 +633,7 @@
633633
--------
634634
> var arr1 = new {{alias}}( [ 1, 2, 3 ] );
635635
> function fcn( v ) { return v * 2; };
636-
> var arr2 = arr1.map( fcn );
636+
> var arr2 = arr1.map( fcn )
637637
<Uint8ClampedArray>[ 2, 4, 6 ]
638638

639639

@@ -730,7 +730,7 @@
730730
Examples
731731
--------
732732
> var arr = new {{alias}}( [ 1, 2, 3 ] )
733-
<Uint8ClampedArray>[ 1, 2, 3 ]
733+
<Uint8ClampedArray>
734734
> arr.reverse()
735735
<Uint8ClampedArray>[ 3, 2, 1 ]
736736

@@ -785,9 +785,9 @@
785785
> arr2.length
786786
2
787787
> arr2[ 0 ]
788-
1
789-
> arr2[ 1 ]
790788
2
789+
> arr2[ 1 ]
790+
3
791791

792792

793793
{{alias}}.prototype.some( predicate[, thisArg] )

0 commit comments

Comments
 (0)