Last active
November 2, 2020 13:21
-
-
Save mahadiul-hasan/11bb89eca142531b589a3db82e237f7c to your computer and use it in GitHub Desktop.
JS core concept strings, numbers, arrays
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var string1 = 'This is string one'; | |
| var string2 = "this is string two"; | |
| var string3 = `This is string three`; | |
| // use single quotes inside single-quoted strings or double quotes inside double-quoted strings | |
| var escString1 = 'it\'s okay'; | |
| var escString2 = "He said \"Goodbye\""; | |
| var escString3 = 'She replied \'Calm down, please\''; | |
| // | |
| var txt = "Welcome to JavaScript Turorial"; | |
| var txtLength = txt.length; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment