blob: 95d085bd77bf14e41638cb4d52af9357726d1523 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// 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 fail if given a Symbol fillString.
author: Jordan Harband
features: [Symbol]
---*/
assert.throws(TypeError, function() {
'abc'.padStart(10, Symbol());
});
reportCompare(0, 0);
|