mirror of https://github.com/tc39/test262.git
11 lines
320 B
JavaScript
11 lines
320 B
JavaScript
|
import * as namespace from "./B.js"
|
||
|
import { shouldBe, shouldThrow } from "../resources/assert.js";
|
||
|
|
||
|
export const A = 42;
|
||
|
|
||
|
shouldBe(JSON.stringify(Reflect.getOwnPropertyDescriptor(namespace, 'B')), `{"value":256,"writable":true,"enumerable":true,"configurable":false}`);
|
||
|
|
||
|
shouldBe(namespace.B, 256);
|
||
|
namespace.later();
|
||
|
|