Josherich's Blog


JavaScript Interview Questions

01 Apr 2014

  • What do you usually do when you have a very confusing behavior?

  • Since named function like function fName() {}; is good for debugging, why better avoid using it?

  • Shy some says eval is slow, but other says it’s just slow at the first execute?

  • When is Closure object created, and destroyed? How Closure is related to memory leak?

  • Implement bind(context, [args]); Implement currying.

  • How to avoid stack overflow using JavaScript async?

  • What is badly needed in ES6?

  • Name some typical grammar traps in JavaScript and explain them in the context of lanugage design.

  • What happened from that you type a URL in browser to that the page finishes loading.