Date: 07/20/12 (Web Development) Keywords: no keywords
Hi!There is an interesting task. I need to catch any undefined calls in my JS code. Is there a solution?Imagine:
function a() { alert('Hi, I'm a function!'); } a(); // works great a.b(); // call undefined function
Source: https://webdev.livejournal.com/581007.html