Bug 1892041 - Part 2: Update test262. r=spidermonkey-reviewers,dminor
[gecko.git] / js / src / tests / test262 / built-ins / String / prototype / endsWith / name.js
blob27b35d7bf321962473d2e7cf941f3b1e47e91a24
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.6
5 description: >
6   String.prototype.endsWith.name value and descriptor.
7 info: |
8   21.1.3.6 String.prototype.endsWith ( searchString [ , endPosition] )
10   17 ECMAScript Standard Built-in Objects
12 includes: [propertyHelper.js]
13 features: [String.prototype.endsWith]
14 ---*/
16 verifyProperty(String.prototype.endsWith, "name", {
17   value: "endsWith",
18   writable: false,
19   enumerable: false,
20   configurable: true
21 });
23 reportCompare(0, 0);