Multiple choice

How is the function called in JavaScript?

  1. Geekfunc();

  2. call Geekfunc();

  3. function Geekfunc();

  4. call function GeekFunc();

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

To call or invoke a function in JavaScript, you write the function's name followed by parentheses, which contain any arguments. For example, 'Geekfunc();' successfully executes the function.