Created
September 25, 2017 16:49
-
-
Save victor123/37ad3a61d33083ed6767d96e9c4df039 to your computer and use it in GitHub Desktop.
JS Bin // source http://jsbin.com/nivofag
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<p id="name"> </p> | |
<p id="comp"> </p> | |
<p id="sal"> </p> | |
<script id="jsbin-javascript"> | |
function mul(o) { | |
return function(x) { | |
return function(y) { | |
return function (z) { | |
return o * x * y * z; | |
} | |
} | |
} | |
} | |
var result = mul (10)(3)(10)(11); | |
document.getElementById("name").innerHTML = result | |
</script> | |
<script id="jsbin-source-javascript" type="text/javascript">function mul(o) { | |
return function(x) { | |
return function(y) { | |
return function (z) { | |
return o * x * y * z; | |
} | |
} | |
} | |
} | |
var result = mul (10)(3)(10)(11); | |
document.getElementById("name").innerHTML = result</script></body> | |
</html> |
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
function mul(o) { | |
return function(x) { | |
return function(y) { | |
return function (z) { | |
return o * x * y * z; | |
} | |
} | |
} | |
} | |
var result = mul (10)(3)(10)(11); | |
document.getElementById("name").innerHTML = result |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment