Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save trycf/87b70b5eeba24d5bacf8c095b6b7b7d9 to your computer and use it in GitHub Desktop.

Select an option

Save trycf/87b70b5eeba24d5bacf8c095b6b7b7d9 to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
a = {b: 2};
a.a = a.a ?: (a.b - 1);
a.a = a.a ?: (a.b - 2);
a.a = a.a ?: (a.b - 3);
writeDump(a);
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment