Prefer Array.prototype.slice over map