(n)
| 3 | // long running, recursive function (blocking operation) |
| 4 | // well it's no optimized and not for productive use but it's an easy way to implement a long-running & blocking operation without third-party modules |
| 5 | function fibonacci(n) { |
| 6 | if (n < 2) { |
| 7 | return 1; |
| 8 | }else { |
| 9 | return fibonacci(n - 2) + fibonacci(n - 1); |
| 10 | } |
| 11 | } |
| 12 | |
| 13 | function runSinglebar(options, limit){ |
| 14 | // create new progress bar using default values |
no outgoing calls
no test coverage detected
searching dependent graphs…