154
rated 0 times
[
159]
[
5]
/ answers: 1 / hits: 22293
/ 12 Years ago, tue, august 14, 2012, 12:00:00
Possible Duplicate:
JSLint: was used before it was defined
I run JSlint
and saw errors like that:
'foo' is not defined.
var x = foo();
foo
is a function defined in another JavaScript
file foo.js
. As I understand there is no import / require directives in JavaScript
to reference the foo
function defined in another source file.
How can I fix this error repoted by JSlint
?
More From » jslint