Created
October 30, 2018 15:49
-
-
Save joaogolias/27dfdde128400fa72f10e80de44cae0a to your computer and use it in GitHub Desktop.
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
const multiply = (factor1: number, factor2: number) : number => { | |
return factor1 * factor2 | |
} | |
multiply(1,2) // => 2 | |
multiply(3,4) // => 12 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment