JSFiddle - React, Tailwind, and code Playground

by somya_kashyap3

JavaScript

(function fibonacciSum(){
 /// WRITE YOUR CODE HERE
  var t1 = 0, t2 = 1, next;
  for(var i = 1; i < 12; i++){
    next = t1 + t2;
    t1 = t2;
    t2 = next;
    console.log(next);
  }
})();