Question: Which of these options is a proper variable declaration and initialization of the type string? var x = 5; var x = ''; var x;
Which of these options is a proper variable declaration and initialization of the type string?
| var x = 5; |
| var x = ''; |
| var x; |
| var x = true; |
| x = 'string'; |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
