Skip to content

Commit 0286482

Browse files
committed
chore: fix JavaScript lint errors (issue #10400)
1 parent 8452bac commit 0286482

File tree

1 file changed

+5
-5
lines changed
  • lib/node_modules/@stdlib/assert/has-property/examples

1 file changed

+5
-5
lines changed

lib/node_modules/@stdlib/assert/has-property/examples/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,19 @@
2222

2323
var hasProp = require( './../lib' );
2424

25-
var bool = hasProp( { 'a': 'b' }, 'a' );
25+
var bool = hasProp({ 'a': 'b' }, 'a' );
2626
console.log( bool );
2727
// => true
2828

2929
bool = hasProp( {}, 'hasOwnProperty' );
3030
console.log( bool );
3131
// => true
3232

33-
bool = hasProp( { 'a': 'b' }, 'c' );
33+
bool = hasProp({ 'a': 'b' }, 'c' );
3434
console.log( bool );
3535
// => false
3636

37-
bool = hasProp( { 'a': 'b' }, null );
37+
bool = hasProp({ 'a': 'b' }, null );
3838
console.log( bool );
3939
// => false
4040

@@ -46,10 +46,10 @@ bool = hasProp( void 0, 'a' );
4646
console.log( bool );
4747
// => false
4848

49-
bool = hasProp( { 'null': false }, null );
49+
bool = hasProp({ 'null': false }, null );
5050
console.log( bool );
5151
// => true
5252

53-
bool = hasProp( { '[object Object]': false }, {} );
53+
bool = hasProp({ '[object Object]': false }, {} );
5454
console.log( bool );
5555
// => true

0 commit comments

Comments
 (0)