Eloquent JS Chapter 4 notes