summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Array/prototype/join/call-with-boolean.js
blob: 3bbdbfd037baf4e8785c9b7562df66ff0f6b24dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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.join
description: Array.prototype.join applied to boolean primitive
---*/

assert.sameValue(Array.prototype.join.call(true), "", 'Array.prototype.join.call(true) must return ""');
assert.sameValue(Array.prototype.join.call(false), "", 'Array.prototype.join.call(false) must return ""');

reportCompare(0, 0);