mirror of https://github.com/tc39/test262.git
15 lines
459 B
JavaScript
15 lines
459 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.3
|
|
description: >
|
|
Object.getOwnPropertyDescriptor returns data desc for functions on
|
|
built-ins (String.prototype.substr)
|
|
includes: [propertyHelper.js]
|
|
---*/
|
|
|
|
verifyWritable(String.prototype, "substr");
|
|
verifyNotEnumerable(String.prototype, "substr");
|
|
verifyConfigurable(String.prototype, "substr");
|