A string is a variable which stores a series of characters like "John Doe".A string can be any text inside quotes. You can use simple or double quotes:Examplevar carname="Volvo XC60";var carname='Volvo XC60';
Javascript
Topic: JS Data Types
what is a JavaScript Strings?
Browse random answers:
What is the JavaScript Data Types?
What are JavaScript types?
JavaScript Has Dynamic Types
what is a JavaScript Strings?
What is a JavaScript Numbers?
What is undefined value means in JavaScript?
What is the data type of variables in JavaScript?
Difference between undefined and undeclared variables.
What data type javascript supports?
What is the difference between undefined value and null value ?