Question: //javascript Write two functions, the first function takes an array of strings from the user and the second function creates an object from that array
//javascript
Write two functions, the first function takes an array of strings from the user and the second function creates an object from that array of strings
and returns to the first function. eg: ['name', 'age'} -> {0:'name', 1:'age'}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
