javascript call another function code example
Example: running a function in a function javascript
function runFunction() {
myFunction();
}
function myFunction() {
alert("runFunction made me run");
}
runFunction();
function runFunction() {
myFunction();
}
function myFunction() {
alert("runFunction made me run");
}
runFunction();