Skip to content

Instantly share code, notes, and snippets.

@john212
Last active November 26, 2019 15:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save john212/b30976be874e3a38d1957d3a80768b84 to your computer and use it in GitHub Desktop.
Save john212/b30976be874e3a38d1957d3a80768b84 to your computer and use it in GitHub Desktop.
JS Bin Test// source https://jsbin.com/fesixo
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin Test</title>
</head>
<body>
<p>Testing export to Gist from JSBin</p>
<script id="jsbin-javascript">
var n = 6;
var r = 3;
var nCr = 0;
nCr = n*n*n/r;
document.write(nCr);
// is there a factorial function? does it need a library?
// do I need to make a factorial function?
</script>
<script id="jsbin-source-javascript" type="text/javascript">var n = 3;
var r = 3;
var nCr = 0;
nCr = n*n*n/r;
document.write(nCr);
// is there a factorial function? does it need a library?
// do I need to make a factorial function?</script></body>
</html>
var n = 3;
var r = 3;
var nCr = 0;
nCr = n*n*n/r;
document.write(nCr);
// is there a factorial function? does it need a library?
// do I need to make a factorial function?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment