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
2 months agoCarla
2 months agoLorean
2 months agoTheresia
3 months agoMa
3 months agoArminda
3 months agoRosalind
3 months agoMadalyn
4 months agoJaclyn
4 months agoLizbeth
4 months agoAntione
4 months agoVi
4 months agoIzetta
5 months agoJackie
5 months ago