Find Last Index Array Javascript Join Method Example