Awkward way of executing JavaScript code

Posted by Editorial Staff | Updated on

Awkward way of executing JavaScript code. This is a poor example. Consider the following:

a will contain the variable test and the function public, however you can not access imPrivate. This is the common way to handle public vs private variables;

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers