blob: c3c1c20a01ed6edb4c731e090bdfdc32a8dae913 (
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.toString
description: Array.prototype.toString applied to boolean primitive
---*/
assert.sameValue(
Array.prototype.toString.call(true),
"[object Boolean]",
'Array.prototype.toString.call(true) must return "[object Boolean]"'
);
assert.sameValue(
Array.prototype.toString.call(false),
"[object Boolean]",
'Array.prototype.toString.call(false) must return "[object Boolean]"'
);
reportCompare(0, 0);
|