0

What is difference between string and array?

28th Mar 2020, 3:20 PM
Ashley Rodrigues
Ashley Rodrigues - avatar
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.
28th Mar 2020, 3:29 PM
Satish Kumar Sharma
Satish Kumar Sharma - avatar