JavaScript

Node.js

Installation

Ubuntu
apt install nodejs
AlmaLinux
dnf install nodejs
Arch Linux
pacman -S nodejs

Examples

Fibonacci Numbers
// Fibonacci Numbers

var fib = function(n) {
    if (n < 2) {
        return n;
    } else {
        return fib(n-1) + fib(n-2);
    }
}

console.log(fib(process.argv[2]));

/*
example
    run:
        node fib_js.js 39
*/