micro-projects

Always be learning

View the Project on GitHub

Write a function to satisfy these requirements:

chain_link_function(3) // -> 3

chain_link_function(3)(4) // -> 7

chain_link_function(3)/* ... */(7) // -> a large number

chain_link_function(3)()(4) // -> 7