[go: up one dir, main page]

Skip to content

Commit

Permalink
Use propertyIsEnumerable var.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalton committed Mar 2, 2016
1 parent 3421fab commit 1ec20c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lodash.js
Original file line number Diff line number Diff line change
Expand Up @@ -1393,7 +1393,7 @@
var metaMap = WeakMap && new WeakMap;

/** Detect if properties shadowing those on `Object.prototype` are non-enumerable. */
var nonEnumShadows = !({ 'valueOf': 1 }).propertyIsEnumerable('valueOf');
var nonEnumShadows = !propertyIsEnumerable.call({ 'valueOf': 1 }, 'valueOf');

/** Used to lookup unminified function names. */
var realNames = {};
Expand Down

0 comments on commit 1ec20c5

Please sign in to comment.