1 2 3 4 5 6 7 8 9
// export-default should throw SyntaxError until it's implemented. var caught = false; try { eval("export default 1;"); } catch (e) { caught = true; } assertEq(caught, true);