test262/test/language/expressions/grouping/S11.1.6_A3_T7.js

14 lines
392 B
JavaScript
Executable File

// 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") {
$ERROR('#1: typeof (x) === "undefined". Actual: ' + (typeof (x)));
}