calling a function within a function in javascript 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();