JavaScript Operators (original) (raw)

What will be the result of the following operation?

JavaScript `

console.log(5 % 2);

`

Which operator is used to compare both value and type?

Which of the following is not a logical operator?

Which of the following is a logical AND operator?

Which of the following operators is used to assign a value to a variable?

What is the purpose of the nullish coalescing operator (??)?

Ternary operator is the best alternative of which aspect of Javascript?

What is the output of this ternary operation?

JavaScript `

const value = 10; console.log(value > 5 ? "Yes" : "No");

`

Which operator is used for optional chaining in JavaScript?

What will the following code log?

JavaScript `

console.log(5 == "5");

`

There are 10 questions to complete.

Take a part in the ongoing discussion