Source code

Revision control

Copy as Markdown

Other Tools

// |reftest| skip-if(!this.uneval)
/*
* Any copyright is dedicated to the Public Domain.
*/
function roundTrip(f) {
try {
eval(uneval(f));
return true;
} catch (e) {
return '' + e;
}
}
function f() { if (true) { 'use strict'; } var eval; }
assertEq(roundTrip(f), true);
reportCompare(true,true);