objects & arrays examples from eloquent javascript