MUL functions in JS
#143
-
MUL functions in JS |
Beta Was this translation helpful? Give feedback.
Answered by
hixb
Jul 16, 2022
Replies: 1 comment
-
` console.log(mul(1)(2)(3)) // 6 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
xiao-ice
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
`
const mul = x => y => z => x * y * z
console.log(mul(1)(2)(3)) // 6
`