-
-
Save codecademydev/1330040b78886dc3b41ece77ccc783c3 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
// Accepts a number x as input and returns its square | |
var square = function (x) { | |
return x * x; | |
}; | |
// Write the function multiply below | |
// It should take two parameters and return the product | |
var multiply = function (x, y) { | |
return x * y; | |
}; | |
multiply(2, 3); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment