unpacking-arguments

1.0.0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    0

Package Sidebar

Install

npm i unpacking-arguments

Weekly Downloads

0

Version

1.0.0

License

ISC

Last publish

Collaborators

  • ouadie