Skip to content

Instantly share code, notes, and snippets.

Created May 29, 2015 23:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/da4ec1cfa62aa134ca4e to your computer and use it in GitHub Desktop.
Save anonymous/da4ec1cfa62aa134ca4e to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
// NB: only one of trueExpression or falseExpression is evaluated:
a = 1;
b = 1;
c = false ? ++a : ++b; // a=1, b=2, c=2
writeDump({ "a":a, "b":b, "c":c });
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment