You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// In this challenge, we practice using arrow functions. Check the attached tutorial for more details.
// Task
// Complete the function in the editor. It has one parameter: an array, . It must iterate through the array performing one of the following actions on each element:
// - If the element is even, multiply the element by 2.
// - If the element is odd, multiply the element by 3.
// The function must then return the modified array.