Lodash.js - indexOf() function

A simple Lodash.js example of the indexOf() function, we will return the index of the element from its first occurence in the collection.