Created
March 9, 2017 19:13
-
-
Save chippinkston/e14b5a38a94121da5b024540bcfc7a0d to your computer and use it in GitHub Desktop.
testing [email protected]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
echo('testing'); | |
test = new test(); | |
dump(test.testMe()); | |
dump(test.generics()); | |
dump(test); | |
</cfscript> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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