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

20 lines
509 B
JavaScript
Raw Normal View History

// Copyright (c) 2012 Ecma International. All rights reserved.
2015-07-17 17:42:45 +02:00
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: B.2.1
description: >
Object.getOwnPropertyDescriptor returns data desc for functions on
built-ins (Global.escape)
includes: [propertyHelper.js]
---*/
2017-04-24 21:31:48 +02:00
assert.sameValue(typeof this.escape, "function");
assert.sameValue(typeof this["escape"], "function");
2017-04-24 21:31:48 +02:00
verifyProperty(this, "escape", {
writable: true,
enumerable: false,
configurable: true
});