JSFiddle - React, Tailwind, and code Playground
JavaScript
var arr = [2,3,4,54,56,234,345,234]
function isEven(a) { return a % 2 == 0;}
console.log(arr.map(x => isEven(x)))
var vowelArr = ['a', 'e', 'i', 'o', 'u'];
vowelArr.map((vowel, index, list) => list[index] = vowel.toUpperCase());
console.log(vowelArr);