how can we get the smallest number of an array typescript code example Example: javascript minimum number in array const min = arr => Math.min(...arr);