27
Jul
Objects everywhere Well, you've probably heard before about objects in JavaScript and how they are important in order to understand the language. Objects make JS extremely readable and useful because of its model "key":"value". But the thing I want to stand out is that the "value" section accepts not only a simple string, rather another object, that in turn, may be another object and so on. For instance: const character = { name:"Arthur Morgan", age:24, face: { hairSize:5, eyesColor: "blue", } } Enter fullscreen mode Exit fullscreen mode This snippet shows that face is an object as well as character.…