JSFiddle - React, Tailwind, and code Playground by luka kupunia March 02, 2020 JavaScript var arr = [1,2,3,4]; console.log(Math.min(...arr))