This blog post explains how this works and where it can cause problems, concluding with best practices. To understand this, it is best to partition the locations where it can be used into three categories: In functions: this is an extra, often implicit, parameter. Outside functions (in the top-level scope): this refers to the global object in browsers and to a module’s exports in Node.js. In a string passed to eval(): eval() either picks up the current value of this or sets it to the global object, depending on whether it is called directly or indirectly.
7 Principles of Rich Web Applications. This is a writeup based on a presentation I gave at BrazilJS in August 2014.
As one of the top designers on Dribbble, Jan Martin attracts many followers with his visual design skills.
Unlike many designers, Jan is incredibly humble about what he has achieved. “Stop following what the visionary designers think,” he says. “There is no wrong or right way. We need to create our own things and always design with our heart.” Jan grew up in the small city of Brandenburg, about 70 kilometers south of Berlin. Geek to Live: How to set up a personal home web server.