blob: 2e79d77f42940f0dd9da09f4184bdbd2e43ede3c (
plain)
1
2
3
4
5
6
7
8
9
10
|
// |jit-test| module
import { ns } from "export-ns.js";
load(libdir + 'asserts.js');
assertEq(isProxy(ns), true);
assertEq(ns.a, 1);
assertThrowsInstanceOf(function() { eval("delete ns"); }, SyntaxError);
assertThrowsInstanceOf(function() { ns = null; }, TypeError);
|