mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 23:57:49 +00:00
Fix strict mode test fail for es6 builds.
This commit is contained in:
@@ -3967,7 +3967,7 @@
|
||||
|
||||
test('`_.' + methodName + '` should ' + (isStrict ? '' : 'not ') + 'throw strict mode errors', 1, function() {
|
||||
if (freeze) {
|
||||
var object = { 'a': null, 'b': function() {} },
|
||||
var object = { 'a': undefined, 'b': function() {} },
|
||||
pass = !isStrict;
|
||||
|
||||
freeze(object);
|
||||
|
||||
Reference in New Issue
Block a user