blob: 0796174edd9e5f69ff853a05c5f3c292bda41c7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright (c) 2020 Rick Waldron. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-array.prototype.fill
description: Array.prototype.fill applied to boolean primitive
---*/
assert.sameValue(
Array.prototype.fill.call(true) instanceof Boolean,
true,
'The result of `(Array.prototype.fill.call(true) instanceof Boolean)` is true'
);
assert.sameValue(
Array.prototype.fill.call(false) instanceof Boolean,
true,
'The result of `(Array.prototype.fill.call(false) instanceof Boolean)` is true'
);
reportCompare(0, 0);
|