Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What is wrong with the code snippet provided?
const greeting = => {
console.log('Hello Programmer!');
};
The ordering of = and => should be switched.
The function expression cannot be declared with a const keyword.
The curly braces {} should be parentheses ().
The greeting function is missing a set of () between the = and =>.
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!