From 8a7a099073237c8edf99d829cf280395ea0f8c3a Mon Sep 17 00:00:00 2001 From: jdalton Date: Sun, 5 Apr 2015 13:20:48 -0500 Subject: [PATCH] Use `x` even more in `support` definition. --- lodash.src.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lodash.src.js b/lodash.src.js index 153ba5be1..e1ae11f10 100644 --- a/lodash.src.js +++ b/lodash.src.js @@ -995,7 +995,7 @@ (function(x) { var Ctor = function() { this.x = x; }, - object = { '0': !x, 'length': 1 }, + object = { '0': x, 'length': x }, props = []; Ctor.prototype = { 'valueOf': x, 'y': x }; @@ -1143,7 +1143,7 @@ } catch(e) { support.nonEnumArgs = true; } - }(0, 0)); + }(1, 0)); /** * By default, the template delimiters used by lodash are like those in