Closed AkashRajpurohit closed 5 years ago
I wanted to add a largest function which will return the largest value in the array
const array = [290,452,575,235] const largestItem = largest(array) // 575
The stackoverflow link would be this: https://stackoverflow.com/a/33498918/9713990
Sounds great!
I wanted to add a largest function which will return the largest value in the array