Flashcards
JS Flashcards
Cards in this deck (2)
- 1Array.splice()Remove existing elements of an array and may add elements.
ex: ['wow', 'ow', 'd3'].splice(2, 1, 'PoE') returns ['wow', 'ow', 'Poe'] - 2Array.slice()Give a portion of string from start index to end(optional).
ex: [1,2,3,4].slice(1,3) returns [2,3]
Information
- Description
- A bunch of flashcards intended to refresh my memory about some js methods
- Created by
- Matheus Felix
- Views
- 0
- Tags
- Rating