Welcome To Snipplr


Everyone's Recent JavaScript Snippets Tagged find



« Prev 1 Next »
this function tells you whether or not the passed value is in the passed array
1 245 posted 11 years ago by jlvallelonga
You can find a string as an array row value. Ex: arr=['abcde','mdleo'] arr.find('dbd') -> array['abcde'] arr.find('akdowewo') -> array[] (empty)
0 209 posted 12 years ago by tonic
« Prev 1 Next »