Skip to content

Javascript kata to call a given function/lambda with a given arguments.

Notifications You must be signed in to change notification settings

ouadie-lahdioui/unpacking-arguments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

JAVASCRIPT KATA : Unpacking Arguments !

Description:

You must create a function, spread, that takes a function and a list of arguments to be applied to that function. You must make this function return the result of calling the given function/lambda with the given arguments.

eg:

spread(someFunction, [1, true, "Foo", "bar"] ) 
// is the same as...
someFunction(1, true, "Foo", "bar")

Solution : caller.js

Source : codewars

About

Javascript kata to call a given function/lambda with a given arguments.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published