ALL
Use of mouse (entertainment)
What will you do after you buy a new mouse? Will you throw your old mouse away? Actually, we can reuse our old mouse and make some beautiful products with our unused mouse. Here are some pictures about the use of mouse.Original author : 阮一峰 Source : http://www.ruanyifeng.com/blog/2004/05/post_71.html...
2,820 0 USE MOUSE ENTERTAINMENT
this in JavaScript
this is a keyword in JavaScript. It refers to an internal object created automatically when a function executes, it can only be used in a function. For example: function test(){    this.x = 1;  }The this keyword will change when a function is called in different situations. However, the general rule is : this refers to the object which calls the function.Next we discuss the use of this in 4 different situations.1. In pure function callThis is the most common use of a function, it is a global call, so the this w...
6,007 0 JAVASCRIPT THIS KEYWORD USE