Array creation
Given two inputs, return an array containing those two inputs.
Sample Code:
function createArray(inp1,inp2) {
// Enter your logic here...
}
Examples:
Input: {obj: 1}, [2]
Output: [{obj: 1}, [2]]
Explanation: The two inputs have now been stored in an array as elements.
Input: ' ',0
Output: [' ',0]
Explanation: The two inputs have now been stored in an array as elements.