Did not finish Eloquent Javascript

I did not finish reading Eloquent Javascript by Marijn Haverbeke. I really liked it though. I leave out hope I’ll go back to it, but it took me almost 2 years to get to this point.

I never went to school for computer science, learning on the job and in my spare time through articles, videos, and experience.

This was great, forcing me to learn practical, pragmatic approaches fast, but did leave some classic theory to be inferred.

Since I had never done it formally, I decided to work through Eloquent Javascript, a beginners introduction to programming.

It’s very well written and dense, which I like a lot. I maintain a repo with my solutions to the end-of-chapter practice exorcises enforced by tests, https://github.com/bronzehedwick/eloquent-js-exercises, which I’ve been slowly working through.

Here’s a few posts.

Chapter 6. The Secret Life of Objects

All properties that we create by simply assigning to them are enumerable. The standard properties in Object.prototype are all nonenumerable, which is why they do not show up in such a for/in loop.

A clear way of articulating this. When you assign a new value, it is always enumerable, unless you pull something specific to tell JS otherwise, aka Object.defineProperty.