Strict mode Failing
Expected no error, got SyntaxError: warning: the variable "notDefined" was not declared in anonymous function " 9#"
Features:
- ∅
Expected no error, got SyntaxError: warning: the variable "notDefined" was not declared in anonymous function " 9#"
// Copyright (C) 2015 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es6id: 12.2.5 description: > Throws when IdentifierReference is undefined ---*/ assert.throws(ReferenceError, function() { var o = {notDefined}; });