Created
June 24, 2021 19:32
-
-
Save lpj145/f147506d32a2ee8438983b50194d799c to your computer and use it in GitHub Desktop.
This file contains hidden or 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 specialAdd(a: Number, b: Number, factor: Number) { | |
return (a + b) * factor | |
} | |
export function math2() { | |
return add(a: Number, b: Number) { | |
return specialAdd(2, 3, 10) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment