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 893 posted 15 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 945 posted 16 years ago by tonic
« Prev 1 Next »