blob: 4b38c5a4a47e776385a6a1d06168b490d1f01f9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// 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.padend
description: String#padEnd should have length 1
author: Jordan Harband
includes: [propertyHelper.js]
---*/
assert.sameValue(String.prototype.padEnd.length, 1, 'Expected String#padEnd.length to be 1');
verifyNotEnumerable(String.prototype.padEnd, 'length');
verifyNotWritable(String.prototype.padEnd, 'length');
verifyConfigurable(String.prototype.padEnd, 'length');
reportCompare(0, 0);
|