Skip to content

Instantly share code, notes, and snippets.

@victor123
Created September 25, 2017 16:49
Show Gist options
  • Save victor123/37ad3a61d33083ed6767d96e9c4df039 to your computer and use it in GitHub Desktop.
Save victor123/37ad3a61d33083ed6767d96e9c4df039 to your computer and use it in GitHub Desktop.
JS Bin // source http://jsbin.com/nivofag
<!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>
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