%PDF- %PDF-
Direktori : /var/www/html/node_modules/reusify/benchmarks/ |
Current File : /var/www/html/node_modules/reusify/benchmarks/fib.js |
'use strict' function fib (num) { var fib = [] fib[0] = 0 fib[1] = 1 for (var i = 2; i <= num; i++) { fib[i] = fib[i - 2] + fib[i - 1] } } module.exports = fib