×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

Which JavaScript method is used to create a new array with array elements that passes a test?

70. Which JavaScript method is used to create a new array with array elements that passes a test?

  1. forEach()
  2. map()
  3. forMap()
  4. filter()

Answer: D) filter()

Explanation:

The JavaScript method filter() is used to create a new array with array elements that pass a test.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.