test262/test/annexB/built-ins/unescape/prop-desc.js

20 lines
517 B
JavaScript

// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: B.2.2
description: >
Object.getOwnPropertyDescriptor returns data desc for functions on
built-ins (Global.unescape)
includes: [propertyHelper.js]
---*/
assert.sameValue(typeof this.unescape, "function");
assert.sameValue(typeof this["unescape"], "function");
verifyProperty(this, "unescape", {
writable: true,
enumerable: false,
configurable: true
});