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]);
|
||
|
}
|