Skip to content

Commit 2fc0cf4

Browse files
docs: fix example
PR-URL: #13380 Co-authored-by: Athan Reines <kgryte@gmail.com> Reviewed-by: Athan Reines <kgryte@gmail.com> Signed-off-by: Athan Reines <kgryte@gmail.com> Closes: #13366
1 parent bb93e56 commit 2fc0cf4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/node_modules/@stdlib/utils/push/lib/push_typed_array.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ var ceil2 = require( '@stdlib/math/base/special/ceil2' ); // TODO: nextpow2
4545
* var arr = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0 ] );
4646
* // returns <Float64Array>[ 1.0, 2.0, 3.0, 4.0, 5.0 ]
4747
*
48-
* arr = push( arr, 6.0, 7.0 );
48+
* arr = push( arr, [ 6.0, 7.0 ] );
4949
* // returns <Float64Array>[ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0 ]
5050
*/
5151
function push( arr, items ) {

0 commit comments

Comments
 (0)