Advertisement
huynhhothanhtra

Câu 5: Viêt một function bằng Javascript

Feb 20th, 2020
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function fibonacci(num){
  2.     if(num<=1) return 1;
  3.     retrun fibonacci(num-1)+fibonacci(num-2);
  4. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement