Flashcards
Untitled
Cards in this deck (3)
- 1Semicolons mark the end of a particular JavaScript command or instructionJS variables: case sensitive and cannot have spaces
- 2Strings can be added with + Strings have .length property Strings can be treated like array Strings is anything between "" and ''These two numbers
set the start and end+1 of the slice.
"a string".slice(3,6)
returns
"tri"
If you include only one number in the parentheses after slice,
the string that it slices will start from that number and continue
all the way to the end of the string, like this: - 3.toUpperCase(); .toLowerCase(); "hello
Information
- Description
- Flashcards on Untitled, created by Dhruv Joshi on 11/04/2018.
- Created by
- Dhruv Joshi
- Views
- 1
- Rating