diff --git a/lib/node_modules/@stdlib/random/shuffle/lib/factory.js b/lib/node_modules/@stdlib/random/shuffle/lib/factory.js index 91544cb5ddc8..37ab8b64f2b0 100644 --- a/lib/node_modules/@stdlib/random/shuffle/lib/factory.js +++ b/lib/node_modules/@stdlib/random/shuffle/lib/factory.js @@ -63,7 +63,7 @@ function factory( config ) { throw err; } } - if ( config && config.seed ) { + if ( config && Object.prototype.hasOwnProperty.call( config, 'seed' ) ) { rand = randu({ 'seed': config.seed });