Strict mode Failing
Expected no error, got SyntaxError: warning: the variable "E" was not declared in anonymous function " 9#"
Features:
- ∅
Expected no error, got SyntaxError: warning: the variable "E" was not declared in anonymous function " 9#"
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: "DecimalLiteral :: ExponentPart is incorrect" es5id: 7.8.3_A4.1_T4 description: "ExponentPart :: E DecimalDigits" ---*/ assert.throws(ReferenceError, function() { E-1 });