blob: 2fc175ce9fb6d9b0180c224b2e6c3faf4cfa4230 [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.18
description: >
Property type and descriptor.
info: |
21.1.3.18 String.prototype.startsWith ( searchString [ , position ] )
17 ECMAScript Standard Built-in Objects
includes: [propertyHelper.js]
---*/
assert.sameValue(
typeof String.prototype.startsWith,
'function',
'`typeof String.prototype.startsWith` is `function`'
);
verifyNotEnumerable(String.prototype, 'startsWith');
verifyWritable(String.prototype, 'startsWith');
verifyConfigurable(String.prototype, 'startsWith');