blob: 1d01b147ecd3524c6b0abeab1debc5c006a94f35 (
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.unshift
description: Array.prototype.unshift applied to boolean primitive
---*/
assert.sameValue(Array.prototype.unshift.call(true), 0, 'Array.prototype.unshift.call(true) must return 0');
assert.sameValue(Array.prototype.unshift.call(false), 0, 'Array.prototype.unshift.call(false) must return 0');
reportCompare(0, 0);
|