MCQ
Which statement is used to give value 3 for the variable ‘x’ in JavaScript?
  • var x = = 3;
  • B
    Var x = 3;
  • C
    x = 3
  • D
    _= 3

Answer

Correct option: A.
var x = = 3;
var x = = 3;

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free