ExamVeda
Login
Home
This question belongs to Javascript Sockets
Sockets
?

Which of the following is the assignment operator?

Answer & Solution
Correct Answer: Option A
An assignment operator is used to assign a value to a variable.

In JavaScript, = is the assignment operator.

It assigns the value on the right to the variable on the left.

Options <-, ->, and == are not assignment operators.

== is a comparison operator, not an assignment operator.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.