Computer Science, asked by Kommii6372, 11 months ago

How to define functions inside a function body in JavaScript?

Answers

Answered by Anonymous
0

Functions are one of the fundamental building blocks in JavaScript. A function is a JavaScript procedure—a set of statements that performs a task or calculates a value. To use a function, you must define it somewhere in the scope from which you wish to call it.

Answered by omegads04
0

with function scope, the parameters and variables that define as part of a function are not available outside the function body .

Similar questions