Guest User

Untitled

a guest
Dec 13th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. <cfscript>
  2.  
  3. myArray = [1, 32, 245];
  4. found = arrayReduce(myArray, function(value, element) {
  5. if (element == "32") {
  6. value = true;
  7. }
  8. }, false);
  9. writeDump(found);
  10. </cfscript>
Add Comment
Please, Sign In to add comment