blob: f0a6c475dc13618fb59553e2d8696f3bb7beca2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// 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 default to a fillString of " " when omitted
author: Jordan Harband
---*/
assert.sameValue('abc'.padEnd(5), 'abc ');
assert.sameValue('abc'.padEnd(5, undefined), 'abc ');
reportCompare(0, 0);
|