mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 03:26:22 +00:00
819 B
819 B
date | id | title |
---|---|---|
2020-09-22 | 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\".")