Created
January 16, 2017 05:30
-
-
Save rohit012/e1f690b31c3bf7d7efa9efe0650fce70 to your computer and use it in GitHub Desktop.
This file contains 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
// rest param example | |
var multipleInputs = function (value, ...restParamValues ) { | |
restParamValues.forEach( function(paramVal){ | |
// do something with paramVal | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment