JS STRINGS Flashcards
1
Q
Concatenation
A
(Adding strings together using the “+” plus sign)
Ex: console.log(“Commonwealth” + “Coders”);
2
Q
Length Property
A
.length
Returns the length/number of characters and spaces in the string
3
Q
Index
A
// Each character or space in a string has a set index // Index starts at ZERO!!! Ex: console.log("Hello"[1])