What is the correct syntax to declare an empty function in JavaScript?

JavaScript Final 24-25

Quiz
•
others
•
•
Hard
Stephen Franz
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
functionName() {}
function functionName() {}
create function functionName {}
func functionName {}
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to assign a variable in JavaScript
name = "Joe";
let name = "Joe";
name -> "Joe";
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why should you move your