Use propertyIsEnumerable var.

This commit is contained in:
John-David Dalton
2016-03-01 20:33:17 -08:00
parent 3421fab58a
commit 1ec20c5281

View File

@@ -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 = {};