blob: 63545034f82d38df615c022ba47b4730b3dc2306 [file] [log] [blame]
// Copyright (C) 2017 Robin Templeton. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: RequireObjectCoercible for BigInt values
esid: pending
features: [BigInt]
---*/
try {
let {} = 0n;
} catch (e) {
$ERROR('Expected RequireObjectCoercible to succeed for BigInt values');
}
assert.sameValue(Object.setPrototypeOf(0n, null), 0n);