search for a value in an array of objects javascript and get its index
By Bradford Koch at Sep 09 2020