1.

What is a function in JavaScript?

Answer»

A function is a block of JavaScript code that is defined once but may be executed or invoked any number of times. Functions are used to encapsulate code that performs a specific task.



Discussion

No Comment Found