Which of the following is a valid way to declare a string variable in JavaScript?
b. string name = 'John';
a. var name = 'John';
b. const name = 'John';
c. let name = 'John';
d. All of the above
This question is part of this quiz :
JavaScript String - School Programming