javascript.info Notes - Strings
Three ways to declare strings in JS
let single = 'single-quoted';
let double = "double-quoted";
let backticks = `backticks`;
Accessing characters
let str = `Hello`;
// the first character
console.log( str[0] ); // H
console.log( str.at(0) ); // H
...
fiftybugsofgrey.hashnode.dev2 min read