Created
April 19, 2012 21:53
-
-
Save codingjester/2424455 to your computer and use it in GitHub Desktop.
Javascript for Renee
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
function multiply(a,b) { | |
return a * b; | |
} | |
data = [1,2,3]; | |
for(var d in data) { | |
answer = multiply(data[d], 2); | |
console.log(answer); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment