Skip to content

Instantly share code, notes, and snippets.

@ryanguill
Created October 24, 2014 18:50
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 ryanguill/6ee21d821e9af59ecd57 to your computer and use it in GitHub Desktop.
Save ryanguill/6ee21d821e9af59ecd57 to your computer and use it in GitHub Desktop.
<cfscript>
a = "foo";
function getA() {
return a;
}
writedump(a.equals(a));//true
writedump(getA().equals(a));
/*Invalid CFML construct found on line 11 at column 34.
ColdFusion was looking at the following text:
equals
*/
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment