mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 11:27:50 +00:00
Use x a bit more in support definition to prevent aggressive minifier modifications.
This commit is contained in:
@@ -1000,11 +1000,11 @@
|
|||||||
var support = lodash.support = {};
|
var support = lodash.support = {};
|
||||||
|
|
||||||
(function(x) {
|
(function(x) {
|
||||||
var Ctor = function() { this.x = 1; },
|
var Ctor = function() { this.x = x; },
|
||||||
object = { '0': 1, 'length': 1 },
|
object = { '0': !x, 'length': 1 },
|
||||||
props = [];
|
props = [];
|
||||||
|
|
||||||
Ctor.prototype = { 'valueOf': 1, 'y': 1 };
|
Ctor.prototype = { 'valueOf': x, 'y': x };
|
||||||
for (var key in new Ctor) { props.push(key); }
|
for (var key in new Ctor) { props.push(key); }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user