what is string in js code example
Example 1: js string
String(thing)
Example 2: js string
return 'cat'.charAt(1); // returns "a"
Example 3: js string
let longString = "This is a very long string which needs \
to wrap across multiple lines because \
otherwise my code is unreadable.";