We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e206ac commit 2b455daCopy full SHA for 2b455da
1 file changed
lib/node_modules/@stdlib/array/base/take/README.md
@@ -63,7 +63,7 @@ Takes elements from an array and assigns the values to elements in a provided ou
63
```javascript
64
var x = [ 1, 2, 3, 4 ];
65
66
-out = [ 0, 0, 0, 0, 0, 0 ];
+var out = [ 0, 0, 0, 0, 0, 0 ];
67
var indices = [ 0, 0, 1, 1, 3, 3 ];
68
69
var arr = take.assign( x, indices, 'throw', out, -1, out.length-1 );
0 commit comments