%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/opti/workflow/node_modules/phantomjs-prebuilt/lib/phantom/examples/
Upload File :
Create Path :
Current File : /home/opti/workflow/node_modules/phantomjs-prebuilt/lib/phantom/examples/fibo.js

"use strict";
var fibs = [0, 1];
var ticker = window.setInterval(function () {
    console.log(fibs[fibs.length - 1]);
    fibs.push(fibs[fibs.length - 1] + fibs[fibs.length - 2]);
    if (fibs.length > 10) {
        window.clearInterval(ticker);
        phantom.exit();
    }
}, 300);

Zerion Mini Shell 1.0