blob: 1e5f7b407b8e19ffff6ab3eeda74ec3bc823ff03 [file] [log] [blame]
// Copyright (C) 2015 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 21.1.3.6
description: >
String.prototype.endsWith.name value and descriptor.
info: |
21.1.3.6 String.prototype.endsWith ( searchString [ , endPosition] )
17 ECMAScript Standard Built-in Objects
includes: [propertyHelper.js]
features: [String.prototype.endsWith]
---*/
assert.sameValue(
String.prototype.endsWith.name, 'endsWith',
'The value of `String.prototype.endsWith.name` is `"endsWith"`'
);
verifyNotEnumerable(String.prototype.endsWith, 'name');
verifyNotWritable(String.prototype.endsWith, 'name');
verifyConfigurable(String.prototype.endsWith, 'name');