How to declare string in JavaScript


You can declare string in JavaScript like a variable declared. Because here you don’t have to declare data type as a string all you have to declare or assign the string value to  default variable and it will considered as a string value.  You can read following article how to declare variable in JavaScript.

How to declare a variable in JavaScript.

Leave a Comment

Your email address will not be published.