const biggestItem = arr => Math.max(...arr);
Returns the biggest numerical item of the array.
Happy coding and consider to buy me a coffee
Photo by zoo_monkey on Unsplash
We're a place where coders share, stay up-to-date and grow their careers.
const biggestItem = arr => Math.max(...arr);
Returns the biggest numerical item of the array.
Happy coding and consider to buy me a coffee
Photo by zoo_monkey on Unsplash
Brett Martin -
Rohan Kiratsata -
Antonio Pekeljevic -
Marco Biedermann -
Discussion (0)