chrismejia / intro-to-code-js

A repo meant new JS learners help with guided topic-centered practice problems
0 stars 5 forks source link

Get difference of largest and smallest number in unsorted array #11

Closed chrismejia closed 3 months ago

chrismejia commented 7 months ago

Idea

Return the difference between the largest and smallest numbers in the unsorted array.

Example Code

let arr = [123, 4, 3246, 20...] // 100 numbers
chrismejia commented 3 months ago

Code added to 0X-Guide