Author: Not specified Language: javascript
Description: Not specified Timestamp: 2018-04-17 10:31:40 +0000
View raw paste Reply
  1. var str = 'This is a single string! Yes it can be used with find.';
  2.  
  3. console.log( _.find(str,function(el,i,col){
  4.  
  5.     return el === '!';
  6.  
  7. }) ); // !
View raw paste Reply