20. JSON superset Please support this book: buy it or donate 20. JSON superset This chapter covers the ES2019 feature “JSON superset ” by Richard Gibson) is at [stage 4](...
Summary Summary Objects are the center of programming in JavaScript, and ECMAScript 6 made some helpful changes to objects that both make them easier to deal with and more powe...
The Array Problem The Array Problem The JavaScript array object behaves in ways that developers couldn’t mimic in their own objects before ECMASCript 6. An array’s length prop...
Summary Summary ECMAScript 6 classes make inheritance in JavaScript easier to use, so you don’t need to throw away any existing understanding of inheritance you might have from...
21. Function.prototype.toString revision 21.1. The algorithm Please support this book: buy it or donate 21. Function.prototype.toString revision This chapter covers the ...
More Powerful Prototypes Changing an Object’s Prototype Easy Prototype Access with Super References More Powerful Prototypes Prototypes are the foundation of inheritance in J...