PR-URL: https://github.com/nodejs/node/pull/44741 Fixes: https://github.com/nodejs/node/issues/44650 Fixes: https://github.com/nodejs/node/issues/37472 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
11 lines
363 B
JavaScript
11 lines
363 B
JavaScript
// Copyright 2022 the V8 project authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
for (let o of [{0b0n: 0}, {0B0n: 1},
|
|
{0o0n: 2}, {0O0n: 3},
|
|
{0x0n: 4}, {0X0n: 5},
|
|
{0n: 6}]) {
|
|
assertEquals("0", Object.getOwnPropertyNames(o)[0]);
|
|
}
|