@codesections modern javascript only adds a prettier syntax (let and =>), but it is still the same thing with es5 (and I think es3 too)
var fib = function(n) { return n < 2 ? n : fib(n - 1) + fib(n - 2) }
 Fernando Mumbach
Fernando Mumbach
             
            @codesections modern javascript only adds a prettier syntax (let and =>), but it is still the same thing with es5 (and I think es3 too)
var fib = function(n) { return n < 2 ? n : fib(n - 1) + fib(n - 2) }
Bobinas P4G is a social network. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.
      All Bobinas P4G content and data are available under the Creative Commons Attribution 3.0 license.
 All Bobinas P4G content and data are available under the Creative Commons Attribution 3.0 license.
