Kizspy | Question: 29 (Choose 1 answer)
Consider two statements:
1. A JavaScript function is defined with the function keyword, followed by a name, followed by parentheses ().2. A JavaScript function is a block of code designed to perform a particular task.
Choose the right option.
A. Statement 1 is true, statement 2 is true
B. Statement 1 is false, statement 2 is false
C. Statement 1 is true, statement 2 is false
D. Statement 1 is false, statement 2 is true