I know there a fair few entries on SO and the web on this however I just can\'t get to work - any help would be appreciated.
So i have an array in Javascript which I
Instead of declaring variable toSearchArray as array. consider it an javascript object. var toSearchArray = {}.