Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save trycf/2ebfe12b36fa0928398c72e8f11b8029 to your computer and use it in GitHub Desktop.

Select an option

Save trycf/2ebfe12b36fa0928398c72e8f11b8029 to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
myArray = [1,2,3,4,5,6,7];
myArray.each(function(track, index) {
if( track > 3 ){
writeDump(track);
break;
}
})
for (track in myArray) {
if( track > 3 ){
writeDump(track);
break;
}
}
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment