mirror of https://github.com/tc39/test262.git
12 lines
339 B
JavaScript
12 lines
339 B
JavaScript
import { Cappuccino, Cocoa } from "./module-eval/drink.js"
|
|
import * as B from "./module-eval/B.js"
|
|
import { shouldThrow, shouldBe } from "./resources/assert.js"
|
|
|
|
shouldBe(eval("Cappuccino"), "Cappuccino");
|
|
|
|
(function () {
|
|
let Cappuccino = "Cocoa";
|
|
shouldBe(eval("Cappuccino"), "Cocoa");
|
|
shouldBe(eval("Cocoa"), "Cocoa");
|
|
}());
|