Find Smallest Integer In Array Javascript Function Types In Computer