Get Minimum Value Of Array Javascript Methods Syntax