Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
10 Cards in this Set
- Front
- Back
Which array method will allow you to fill all the elements of an array from a start index to an and index |
.fill() |
|
Which method removes the last element from an array? |
.pop() |
|
Which array method adds one or more elements to the end of an array? |
.push() |
|
Which array method reverses the order of elements in the array |
.reverse() |
|
Which method removes the first element from an array and returns that element. |
.shift() |
|
Which method sorts the elements in an array? |
.sort() |
|
What does the .splice() method do?d |
It can be used to add and/or remove elements in an array |
|
Which methodadds one or more elements to the front of an array and returns the new length of the array. |
.unshift() |
|
Which method can be used to join two arrays into one? |
.concat() |
|
What does the array method .includes() do, and what value does it return? |
It checks to see if a specified element is in the array, and returns a boolean |