summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/String/prototype/padStart/function-property-descriptor.js
blob: b49c71a64cf289255564ce5e01e3b33262aa2059 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (C) 2016 Jordan Harband. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
esid: sec-string.prototype.padstart
description: String#padStart should be writable, non-enumerable, and configurable
author: Jordan Harband
includes: [propertyHelper.js]
---*/

verifyNotEnumerable(String.prototype, 'padStart');
verifyWritable(String.prototype, 'padStart');
verifyConfigurable(String.prototype, 'padStart');

reportCompare(0, 0);