summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/String/prototype/padStart/fill-string-empty.js
blob: 5d73afac3a5945d8846451f9cfe59642934eadbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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 return the string unchanged when
  an explicit empty string is provided
author: Jordan Harband
---*/

assert.sameValue('abc'.padStart(5, ''), 'abc');

reportCompare(0, 0);