SHARE
TWEET

Untitled

a guest Sep 17th, 2019 88 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <cfscript>
  2.     listData = ["apples","oranges","rocks","jets","developers"];
  3.     // Higher Order Function Example: arrayFilter
  4.    
  5.     // ACF Friendly
  6.     writeDump(
  7.    
  8.         listData.filter( function( item ){
  9.             return item contains "es";
  10.         })
  11.    
  12.     );
  13.    
  14. </cfscript>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top