Skip to content

Instantly share code, notes, and snippets.

@iamspathan
Created June 8, 2018 06:44
Show Gist options
  • Save iamspathan/d8758aa672223dffc316fd803ce938e1 to your computer and use it in GitHub Desktop.
Save iamspathan/d8758aa672223dffc316fd803ce938e1 to your computer and use it in GitHub Desktop.
JS Bin // source https://jsbin.com/qiyahas
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
let cb=function()
{
console.log("Parent Function Execution Done");
}
function ab(a,cb)
{
console.log("Parent Exection with value:" , a);
cb();
}
ab(5,cb);
</script>
<script id="jsbin-source-javascript" type="text/javascript">let cb=function()
{
console.log("Parent Function Execution Done");
}
function ab(a,cb)
{
console.log("Parent Exection with value:" , a);
cb();
}
ab(5,cb);</script></body>
</html>
let cb=function()
{
console.log("Parent Function Execution Done");
}
function ab(a,cb)
{
console.log("Parent Exection with value:" , a);
cb();
}
ab(5,cb);
@iamspathan
Copy link
Author

JS Function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment