Skip to content

Instantly share code, notes, and snippets.

@chippinkston
Created March 9, 2017 19:13
Show Gist options
  • Save chippinkston/e14b5a38a94121da5b024540bcfc7a0d to your computer and use it in GitHub Desktop.
Save chippinkston/e14b5a38a94121da5b024540bcfc7a0d to your computer and use it in GitHub Desktop.
testing lucee@4.5
<cfscript>
echo('testing');
test = new test();
dump(test.testMe());
dump(test.generics());
dump(test);
</cfscript>
component {
function init() {
return this;
}
function testMe() {
return isDefined("arguments");
}
function generics() {
var x = [];
for(var i = 0; i < 11; i++){
arrayAppend(x, i);
}
return x;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment