0
What is difference between string and array?
3 Respuestas
+ 3
https://www.w3schools.com/jsref/jsref_obj_string.asp
string stores a series of characters like "John Doe".
A string can be any text inside double or single quotes:
https://www.w3schools.com/js/js_arrays.asp
arrays are used to store multiple values in a single variable.