test262/test/suite/annexB/B.2.1.propertyCheck.js

13 lines
469 B
JavaScript

// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* Check type of various properties
*
* @path annexB/B.2.1.propertyCheck.js
* @description Checking properties of this object (escape)
*/
if (typeof this.escape === "undefined") $ERROR('#1: typeof this.escape !== "undefined"');
if (typeof this['escape'] === "undefined") $ERROR('#2: typeof this["escape"] !== "undefined"');