Which JavaScript method is used to create a new array with array elements that passes a test?
forEach()
map()
forMap()
filter()
Correct Answer : D
What is true about Arrays?
What is the final value of array below?
const array = [1, 2, 3] const extension = [4, 5, 6] array = [...extension, ...array]