arrow syntax javascript for .map code example Example: array map arrow function materials.map((str) => { const {length} = str; return length; });