How to get the Index of an Item in a JavaScript Array

How to get the Index of an Item in a JavaScript Array