mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-25 04:56:23 +00:00
802 B
802 B
id | title |
---|---|
02b70a4e-8f42-4de2-a536-dd42a42f7b47 | JavaScript Strings |
- String Prototype Methods
- String Literals
- String Escapes
- Unicode
- String Iteration
- String To Array Conversion
Syntax
Regular characters
console.log(`Down on the sea`)
console.log("Lie on the ocean")
console.log('Float on the ocean')
Escaped characters
console.log("This is the first line\nAnd this is the second")
console.log("A newline character is written like \"\\n\".")