Skip to content

Commit 9f40b8f

Browse files
chore: fix JavaScript lint errors
PR-URL: #8073 Closes: #8050 Co-authored-by: Athan Reines <kgryte@gmail.com> Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 22abc2e commit 9f40b8f

File tree

2 files changed

+3
-3
lines changed
  • lib/node_modules/@stdlib/assert

2 files changed

+3
-3
lines changed

lib/node_modules/@stdlib/assert/has-bigint-support/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function hasBigIntSupport() {
4444
typeof Global.BigInt === 'function' &&
4545
typeof BigInt === 'function' && // eslint-disable-line stdlib/require-globals
4646
typeof Global.BigInt( '1' ) === 'bigint' &&
47-
typeof BigInt( '1' ) === 'bigint' // eslint-disable-line stdlib/require-globals, no-undef
47+
typeof BigInt( '1' ) === 'bigint' // eslint-disable-line stdlib/require-globals, no-undef, stdlib/no-builtin-big-int
4848
);
4949
}
5050

lib/node_modules/@stdlib/assert/is-enumerable-property/lib/native.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@
3535
* 'boop': true
3636
* };
3737
*
38-
* var bool = isEnumerableProperty( beep, 'boop' );
38+
* var bool = isEnumerableProperty.call( beep, 'boop' );
3939
* // returns true
4040
*
4141
* @example
4242
* var beep = {
4343
* 'boop': true
4444
* };
4545
*
46-
* var bool = isEnumerableProperty( beep, 'hasOwnProperty' );
46+
* var bool = isEnumerableProperty.call( beep, 'hasOwnProperty' );
4747
* // returns false
4848
*/
4949
var isEnumerableProperty = Object.prototype.propertyIsEnumerable;

0 commit comments

Comments
 (0)