Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Cau5_FibonacciJS
mxn12
Feb 19th, 2020
659
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.16 KB
| None
|
0
0
raw
download
clone
embed
print
report
var fibo=[];
fibo[0]=0;
fibo[1]=1;
var n=10;
for(var i=2;i<=n;i++){
fibo[i]=fibo[i-1]+fibo[i-2];
}
for(var i=0;i<=n;i++){
console.log(fibo[i]);
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Google Docs - Exploit
7 min ago | 0.26 KB
Earn money on Changelly
CSS | 20 min ago | 0.26 KB
SwapEngine Bug [build 1.3]
33 min ago | 0.26 KB
December smells like money
CSS | 46 min ago | 0.26 KB
✅ Changelly.com Exploit
60 min ago | 0.26 KB
biplas v40 - Colonies apart from home
8 hours ago | 0.68 KB
Untitled
18 hours ago | 0.30 KB
December smells like money
19 hours ago | 0.15 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!