-
-
Save codecademydev/1784acadc3961f98638180c4d45f7ea0 to your computer and use it in GitHub Desktop.
Codecademy export
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
// Parameter is a number, and we do math with that parameter | |
var timesTwo = function(number) { | |
return number * 2; | |
}; | |
// Call timesTwo here! | |
var newNumber = timesTwo(47); | |
console.log(newNumber); | |
newNumber(16) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment