Skip to content

Instantly share code, notes, and snippets.

@lpj145
Created June 24, 2021 19:32
Show Gist options
  • Save lpj145/f147506d32a2ee8438983b50194d799c to your computer and use it in GitHub Desktop.
Save lpj145/f147506d32a2ee8438983b50194d799c to your computer and use it in GitHub Desktop.
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