Javascript find index of closest value in array July 8, 2019 16 32 64 128 Find index js Javascript index