Last active
November 26, 2019 15:22
-
-
Save john212/b30976be874e3a38d1957d3a80768b84 to your computer and use it in GitHub Desktop.
JS Bin Test// source https://jsbin.com/fesixo
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 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> |
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
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