Interview 4 (daily punch)

13. Add Remove replaced inserted into a contact method

14. The principle of interpretation jsonp, and why not real ajax

15. document load and distinction of document ready

16. "==" and "===" different

17. The difference between function declarations and function expressions?

18. The scope of the context and understanding of this, see the following code:

var User = {
 count: 1, getCount: function() { return this.count; } }; console.log(User.getCount()); // what? var func = User.getCount; console.log(func()); // what? 问两处console输出什么?为什么?

What are the event flow model 21. Javascript?

22. A look at the following code, what output? Explain.

var a = null;
alert(typeof a);

Two kinds of variable scope 25. javaScript What is the difference?

What specific 27. new operator did it?

31. want to get into the page all the checkbox how to do? (Do not use third-party frameworks)

 

Guess you like

Origin www.cnblogs.com/hou-yuan-zhen/p/11710829.html