Created
December 18, 2018 11:13
-
-
Save PrateekKumarSingh/5f1d174d4a9f93ba0ca0a869a9ad50f4 to your computer and use it in GitHub Desktop.
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
$mul = {param($num1,$num2) $num1*$num2} | |
# calling the anonymous function with named parameters | |
& $mul -num1 2 -num2 4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment