Fix strict mode test fail for es6 builds.

This commit is contained in:
John-David Dalton
2014-12-30 21:06:35 -06:00
parent 90923c965b
commit 6a3c1bdb99

View File

@@ -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);