Javascript Get Maximum Value In Array Of Engineers