Skip to content

Commit 22b56f1

Browse files
committed
Rename variables
1 parent a916c08 commit 22b56f1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/node_modules/@stdlib/utils/keys/lib/polyfill.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
var isObjectLike = require( '@stdlib/assert/is-object-like' );
2424
var hasOwnProp = require( '@stdlib/assert/has-own-property' );
2525
var isArguments = require( '@stdlib/assert/is-arguments' );
26-
var hasEnumerablePrototypeBug = require( './has_enumerable_prototype_bug.js' );
27-
var hasNonEnumerableBug = require( './has_non_enumerable_properties_bug.js' );
26+
var HAS_ENUM_PROTO_BUG = require( './has_enumerable_prototype_bug.js' );
27+
var HAS_NON_ENUM_PROPS_BUG = require( './has_non_enumerable_properties_bug.js' );
2828
var isConstructorPrototype = require( './is_constructor_prototype_wrapper.js' );
2929
var NON_ENUMERABLE = require( './non_enumerable.json' );
3030

@@ -76,16 +76,16 @@ function keys( value ) {
7676
if ( isFcn === false && !isObjectLike( value ) ) {
7777
return out;
7878
}
79-
skipPrototype = ( hasEnumerablePrototypeBug && isFcn );
79+
skipPrototype = ( HAS_ENUM_PROTO_BUG && isFcn );
8080
}
81-
if ( !isArgs ) {
81+
if ( isArgs === void 0 ) {
8282
for ( k in value ) {
8383
if ( !( skipPrototype && k === 'prototype' ) && hasOwnProp( value, k ) ) {
8484
out.push( String( k ) );
8585
}
8686
}
8787
}
88-
if ( hasNonEnumerableBug ) {
88+
if ( HAS_NON_ENUM_PROPS_BUG ) {
8989
skipConstructor = isConstructorPrototype( value );
9090
for ( i = 0; i < NON_ENUMERABLE.length; i++ ) {
9191
p = NON_ENUMERABLE[ i ];

0 commit comments

Comments
 (0)