Fredy Mesia a écrit :
> Hi everyone,
>
> I get the error : org.mozilla.javascript.EcmaError: TypeError: Cannot find
> function log. (test.js#7) when I execute:
>
>
> cx.evaluateReader(scope, *new* FileReader(*new* File("path/test.js")), "
> test.js",
Hi everyone,
I get the error : org.mozilla.javascript.EcmaError: TypeError: Cannot find
function log. (test.js#7) when I execute:
cx.evaluateReader(scope, *new* FileReader(*new* File("path/test.js")), "
test.js", 1, *null*);
My test.js looks like that:
console.log("