/* | |
* Any copyright is dedicated to the Public Domain. | |
* http://creativecommons.org/licenses/publicdomain/ | |
* Contributors: Gary Kwong and Jason Orendorff | |
*/ | |
function f(x) { return eval('"mumble"; x + 42'); } | |
var expect = true; | |
var actual = ('' + f).indexOf("mumble") >= 0; | |
reportCompare(expect, actual, "unknown directive in eval code wrongly dropped"); |