javascript execute code example
Example 1: running a function in a function javascript
function runFunction() {
myFunction();
}
function myFunction() {
alert("runFunction made me run");
}
runFunction();
Example 2: javascript runne
f(x) = 7x + 4
Example 3: how to run js script
$ node // now we can execute code in console
> 2 + 4 //our input
6 //output
> .exit // or ctrl + c