Which programming language element is a block of code that can be reused multiple times to execute a specific task?
- Function
- JavaScript Object Notation (JSON)
- Array
- Class
Explanation & Hint:
A function is a block of code useful when executing similar tasks regularly throughout a program. |