Jeff Mott guides you through a step-by-step approach to JavaScript object creation — from object literals to factory functions and ES6 classes.
Tag: objects
JavaScript Object Creation: Patterns and Best Practices
ES6 in Action: How to Use Proxies
Craig describes how to use proxies in ES6 to perform meta-programming operations such as intercepting object property inspections and function calls.
Quick Tip: What Are Factory Functions in JavaScript
Dan Prince looks at factory functions in JavaScript, examining the different types, their use cases & how they allow us to separate data from computations.
The Final Steps to Mastering JavaScript’s “this” Keyword
Completing his look at JavaScript's 'this' keyword, Ivaylo Gerchev examines how to use 'this' in callbacks and closures, as well as lexical binding in ES6.
Revealing the Inner Workings of JavaScript’s “this” Keyword
Understanding JavaScript's this keyword can often be a tricky business. In this article Ivaylo Gerchev examines the common pitfalls and how to avoid them.