Working examples based on Eloquent Javascript