Question: # Q4 (2 points) # Prompt: Please create a function, exampleFour, that will have three input parameters array, number, string. # Remove an element from
# Q4 (2 points) # Prompt: Please create a function, exampleFour, that will have three input parameters array, number, string. # Remove an element from input array under the index indicated by second input parameter. # Replace second element in the input array with string from third parameter # Add the removed parameter to the end of the array # Example Input Parameters: ['apples', 'oranges', 'bananas'], 1, 'strawberries' # Example Output: ['apples', 'strawberries', 'oranges']
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
