Source code

Revision control

Copy as Markdown

Other Tools

/*
* Any copyright is dedicated to the Public Domain.
*/
var expect = "No error";
var actual = expect;
try {
eval('function foo() { "use strict"; }');
} catch (e) {
actual = '' + e;
}
reportCompare(expect, actual, "ok");