blob: e3a3fceda1b39c19250b16a83a5fa141057e29f8 [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);