We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b455da commit c308840Copy full SHA for c308840
1 file changed
lib/node_modules/@stdlib/array/base/take/README.md
@@ -112,7 +112,7 @@ var N = discreteUniform( 5, 15 );
112
var indices = filledBy( N, discreteUniform.factory( 0, x.length-1 ) );
113
114
// Take a random sample of elements from `x`:
115
-var y = take( x, indices );
+var y = take( x, indices, 'throw' );
116
117
console.log( x );
118
console.log( indices );
0 commit comments