This is a good test of our understanding of basic JavaScript syntax. I'm going to carefully consider each option and make sure I understand why the correct answer is the right choice.
I'm a little confused by the wording of this question. Does "siring" mean something special in JavaScript that I'm not aware of? I'll have to double-check the syntax for declaring string variables.
Okay, I've got this. The correct way to declare a string variable in JavaScript is to use single quotes around the value. So option A is the right answer here.
Hmm, I'm a bit unsure about this one. I know strings need to be enclosed in quotes, but I'm not sure if single or double quotes are required. I'll have to think this through.
This looks like a pretty straightforward question. I'm going to carefully read through the options and think about the proper way to declare a string variable in JavaScript.
upvoted 0
times
...
Log in to Pass4Success
Sign in:
Report Comment
Is the comment made by USERNAME spam or abusive?
Commenting
In order to participate in the comments you need to be logged-in.
You can sign-up or
login
Peggie
5 months agoCarla
5 months agoLorean
5 months agoTheresia
6 months agoMa
6 months agoArminda
6 months agoRosalind
6 months agoMadalyn
7 months agoJaclyn
7 months agoLizbeth
7 months agoAntione
7 months agoVi
7 months agoIzetta
8 months agoJackie
8 months ago