DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
mul function call to 3 functions
const mul = (x)=>{ return (y)=>{ return (z)=>{ return x*y*z } } } console.log(mul(1)(2)(3)) //6
PREVIOUS
NEXT
Tagged:
#mul
#function
#call
#functions
ADD COMMENT
Topic
COMMENT
Name
7+1 =
Submit