I call my JavaScript function. Why do I sometimes get the error \'myFunction is not defined\' when it is defined?
For example. I\'ll occasionally g
A syntax error in the function -- or in the code above it -- may cause it to be undefined.