Skip to content

Instantly share code, notes, and snippets.

Created September 7, 2017 14:40
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/f4561fdba63aea3f2bc6574eae0ff3af to your computer and use it in GitHub Desktop.
Save anonymous/f4561fdba63aea3f2bc6574eae0ff3af to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
// This works
writeDump((x) => {
return x * 10;
}(1));
// You cannot mix named and unnamed arguments in function calls on line 11
writeDump((x, y) => {
return x * y;
}(1, 2));
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment