Wednesday, 7 June 2017

Function to transform array a to array b. Given, a = [2, 4, 6, 8, 9, 15] b = [‘4’, ‘16’, ‘64’]

Write a function to transform array a to array b and print the elements of array b to the console.

let a = [2, 4, 6, 8, 9, 15] let b = [‘4’, ‘16’, ‘64’]



via Padmini Kulkarni

No comments:

Post a Comment