Strict mode Failing
Expected no error, got SyntaxError: warning: the variable "x" was not declared in function "global"
Features:
- ∅
Expected no error, got SyntaxError: warning: the variable "x" was not declared in function "global"
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: "\"This\" operator only evaluates Expression" es5id: 11.1.6_A3_T7 description: Applying grouping operator to typeof operator ---*/ //CHECK#1 if (typeof (x) !== "undefined") { throw new Test262Error('#1: typeof (x) === "undefined". Actual: ' + (typeof (x))); }