test262/test/suite/annexB/B.2.2.propertyCheck.js
2013-06-06 07:36:51 -04:00

13 lines
479 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.2.propertyCheck.js
* @description Checking properties of this object (unescape)
*/
if (typeof this.unescape === "undefined") $ERROR('#1: typeof this.unescape !== "undefined"');
if (typeof this['unescape'] === "undefined") $ERROR('#2: typeof this["unescape"] !== "undefined"');