diff --git a/lib/node_modules/@stdlib/assert/has-property/examples/index.js b/lib/node_modules/@stdlib/assert/has-property/examples/index.js index 131d9edbddf9..32bad37885db 100644 --- a/lib/node_modules/@stdlib/assert/has-property/examples/index.js +++ b/lib/node_modules/@stdlib/assert/has-property/examples/index.js @@ -22,7 +22,7 @@ var hasProp = require( './../lib' ); -var bool = hasProp( { 'a': 'b' }, 'a' ); +var bool = hasProp({ 'a': 'b' }, 'a' ); console.log( bool ); // => true @@ -30,11 +30,11 @@ bool = hasProp( {}, 'hasOwnProperty' ); console.log( bool ); // => true -bool = hasProp( { 'a': 'b' }, 'c' ); +bool = hasProp({ 'a': 'b' }, 'c' ); console.log( bool ); // => false -bool = hasProp( { 'a': 'b' }, null ); +bool = hasProp({ 'a': 'b' }, null ); console.log( bool ); // => false @@ -46,10 +46,10 @@ bool = hasProp( void 0, 'a' ); console.log( bool ); // => false -bool = hasProp( { 'null': false }, null ); +bool = hasProp({ 'null': false }, null ); console.log( bool ); // => true -bool = hasProp( { '[object Object]': false }, {} ); +bool = hasProp({ '[object Object]': false }, {} ); console.log( bool ); // => true