Computer Science, asked by Samyra3380, 1 year ago

How to check if a JavaScript function is defined?

Answers

Answered by vasantinikam2004
0
When using scripts that are shared between different areas of a site, there may be cases where a function is called that doesn't exist. It makes sense on one page (the dependency is there) but not another. The difference is too slight to warrant forking the file into different versions.
Similar questions