Bug 1892041 - Part 2: Update test262. r=spidermonkey-reviewers,dminor
[gecko.git] / js / src / tests / test262 / built-ins / String / prototype / codePointAt / length.js
blob95046c634f1396825bca724e0fff5ac084780f81
1 // Copyright (C) 2015 the V8 project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3 /*---
4 es6id: 21.1.3.3
5 description: >
6   String.prototype.codePointAt.length value and descriptor.
7 info: |
8   21.1.3.3 String.prototype.codePointAt ( pos )
10   17 ECMAScript Standard Built-in Objects
12 includes: [propertyHelper.js]
13 ---*/
15 verifyProperty(String.prototype.codePointAt, "length", {
16   value: 1,
17   writable: false,
18   enumerable: false,
19   configurable: true
20 });
22 reportCompare(0, 0);