Section 1

Preview this deck

What method removes an element from the end of the array?

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (13)

Section 1

(13 cards)

What method removes an element from the end of the array?

Front

Back

What function do you use to aggregate all elements into a single value?

Front

Back

What method do you call to remove a group of contiguous elements from the array?

Front

Back

What's the difference between Array.of(element0[, element1[, ...[, elementN]]]) and new Array(element0[, element1[, ...[, elementN]]])?

Front

If passed a single argument which is a number, the Array constructor will create an array with that many elements. However if passed a single element which is a number, Array.of will create an array whose only element is that number.

Back

What method do you use to add an element to the start of the array?

Front

Back

What method do you use to remove elements based on some criteria?

Front

Back

What method do you use to remove the first element?

Front

Back

What method can you use to get a shallow copy of the array?

Front

Back

Describe the compare function of sort

Front

Back

How do you find the first element to satisfy some criteria?

Front

Back

How do you find the index of the first element to satisfy some criteria?

Front

Back

What function do you use to transform every element?

Front

Back

What method do you call to add something to the end of the array?

Front

Back