Javascript

Topic: JS Data Types

what is a JavaScript Strings?

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';

Browse random answers: