another examples from object$arrays topic from eloquent javascript