What array would result from the following statement? [white, silver, blue].splice(1, 0, gray); a. [gray, silver, blue]

Question:

What array would result from the following statement?

 [white, silver, blue].splice(1, 0, "gray");

a. [gray, silver, blue]

b. [white, gray, blue]

c. [white, gray, silver, blue]

d. [gray, white, silver, blue]

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

JavaScript

ISBN: 9781305078444

6th Edition

Authors: Sasha Vodnik, Don Gosselin

Question Posted: