Javascript Get Minimum Value In Array Of Pointers With Example