Exercise code for Eloquent JavaScript Book