blob: 13a20abf32504a4e432cefd20b4af84bcd5d15f4 (
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.padstart
description: String#padStart should default to a fillString of " " when omitted
author: Jordan Harband
---*/
assert.sameValue('abc'.padStart(5), ' abc');
assert.sameValue('abc'.padStart(5, undefined), ' abc');
reportCompare(0, 0);
|