JavaScript inArray()
Lukas on Jan 26th 2008
Everybody who uses JavaScript every now and then is bound to sooner or later notice the absence of an inArray function, i.e. a function that allows you to check if a certain value is an element of an array.
When I went looking for a custom function to search arrays for me I found many approaches to solve the problem. Here is my personal flavour of the inArray function, composed out of the ones I found online:
Continue Reading »
Filed in JavaScript | One response so far