13.
Which operator is used to assign a value to a variable in JavaScript?
=
==
===
+=
Correct: A
The assignment operator (=) is used to assign a value to a variable in JavaScript. It takes the value on the right and assigns it to the variable on the left. For example, x = 10; assigns the value 10 to the variable x.