Skip to content

Commit 20ee2fb

Browse files
committed
Update example return value
1 parent b80b137 commit 20ee2fb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/node_modules/@stdlib/utils/argument-function/lib/argument_function.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ var isNonNegativeInteger = require( '@stdlib/assert/is-nonnegative-integer' ).is
2424
* // returns 'b'
2525
*
2626
* v = argn( null );
27-
* // returns void 0
27+
* // returns undefined
2828
*/
2929
function wrap( idx ) {
3030
if ( !isNonNegativeInteger( idx ) ) {

lib/node_modules/@stdlib/utils/argument-function/lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* // returns 'b'
1818
*
1919
* v = argn( null );
20-
* // returns void 0
20+
* // returns undefined
2121
*/
2222

2323
// MODULES //

0 commit comments

Comments
 (0)