Backed out 3 changesets (bug 1892041) for causing failures on async-module-does-not...
[gecko.git] / js / src / tests / test262 / built-ins / String / prototype / padEnd / function-length.js
blob4b38c5a4a47e776385a6a1d06168b490d1f01f9c
1 // Copyright (C) 2016 Jordan Harband. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
4 /*---
5 esid: sec-string.prototype.padend
6 description: String#padEnd should have length 1
7 author: Jordan Harband
8 includes: [propertyHelper.js]
9 ---*/
11 assert.sameValue(String.prototype.padEnd.length, 1, 'Expected String#padEnd.length to be 1');
13 verifyNotEnumerable(String.prototype.padEnd, 'length');
14 verifyNotWritable(String.prototype.padEnd, 'length');
15 verifyConfigurable(String.prototype.padEnd, 'length');
17 reportCompare(0, 0);