Created
March 16, 2015 17:24
-
-
Save bgadrian/b64c71e4d1a38ccece99 to your computer and use it in GitHub Desktop.
JS call a function with parameters, from an array.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function fn(){} | |
fn.apply(this, new Array(firstParam, Second, etc)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment