Category: JavaScript 301
-
JavaScript 201: Objects
JavaScript 201: Objects At its core, an object is just like a map: it has a collection of key-value pairs, where the keys are known as properties (or methods when they are functions). Objects allow you to group related data and behaviours into a single entity, and can be scaled to build and maintain complex…