/** * This function adds a value to the first index of an array. * @param {Array} arr – The array to which the value will be added. * @param {*} value – The value to add to the array. * @returns {Array} The modified… Continue reading The function to adds a value to the first index of an array