Second example in tip #2 is dead wrong. JavaScript does NOT do Dymanic Scoping. I suspect he didn't even bother to run the code. His example throws an error when I try it: "ReferenceError: x is not defined" (as…
Second example in tip #2 is dead wrong. JavaScript does NOT do Dymanic Scoping. I suspect he didn't even bother to run the code. His example throws an error when I try it: "ReferenceError: x is not defined" (as…