blob: bdac886616d1bb529443eda7069686718642ac3b [file] [log] [blame]
function test() {
new WeakMap();
try {
WeakMap();
return false;
} catch(e) {
return true;
}
}
if (!test())
throw new Error("Test failed");