Skip to content

Commit 2b455da

Browse files
committed
docs: fix example
1 parent 3e206ac commit 2b455da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • lib/node_modules/@stdlib/array/base/take

lib/node_modules/@stdlib/array/base/take/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Takes elements from an array and assigns the values to elements in a provided ou
6363
```javascript
6464
var x = [ 1, 2, 3, 4 ];
6565

66-
out = [ 0, 0, 0, 0, 0, 0 ];
66+
var out = [ 0, 0, 0, 0, 0, 0 ];
6767
var indices = [ 0, 0, 1, 1, 3, 3 ];
6868

6969
var arr = take.assign( x, indices, 'throw', out, -1, out.length-1 );

0 commit comments

Comments
 (0)