Q
What is the assignment operator in JavaScript?

Answer & Solution

Answer: Option A
Solution:
The assignment operator (=) is used to assign a value to a variable.
Related Questions on Average

What is the result of 'true || false' in JavaScript?

A). 1

B). 0

C). 1

D). 0

What is the result of '5 + '5'' in JavaScript?

A). 10

B). 55

C). 10

D). 55

Which operator is used for bitwise NOT in JavaScript?

A). &

B). |

C). ^

D). ~

Which operator is used for right shift in JavaScript?

A). <<

B). >>

C). <<<

D). >>>>>

What is the result of '5 == '5'' in JavaScript?

A). 1

B). 0

C). 1

D). 0

Which operator is used for bitwise OR in JavaScript?

A). &

B). |

C). ^

D). ~

Which operator is used for bitwise XOR in JavaScript?

A). &

B). |

C). ^

D). ~

What is the result of '10 !== '10'' in JavaScript?

A). 1

B). 0

C). 1

D). 0

What is the result of 'true && false' in JavaScript?

A). 1

B). 0

C). 1

D). 0

Which operator is used to increment a value in JavaScript?

A). +

B). -

C). ++

D). --