Backed out 3 changesets (bug 1892041) for causing failures on async-module-does-not...
[gecko.git] / js / src / tests / test262 / built-ins / String / prototype / startsWith / name.js
blob4baa4a307605f60b5ae370b23cfa58871530735b
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.18
5 description: >
6   String.prototype.startsWith.name value and descriptor.
7 info: |
8   21.1.3.18 String.prototype.startsWith ( searchString [ , position ] )
10   17 ECMAScript Standard Built-in Objects
12 includes: [propertyHelper.js]
13 ---*/
15 assert.sameValue(
16   String.prototype.startsWith.name, 'startsWith',
17   'The value of `String.prototype.startsWith.name` is `"startsWith"`'
20 verifyNotEnumerable(String.prototype.startsWith, 'name');
21 verifyNotWritable(String.prototype.startsWith, 'name');
22 verifyConfigurable(String.prototype.startsWith, 'name');
24 reportCompare(0, 0);