Which of the following methodscreates a new array populated with the elements ofarraythat return a value oftruefrom thecallbackfunction?

A. ?array.every(callback [, thisArg])
B. ?array.filter(callback [, thisArg])
C. ?array.some(callback [, thisArg])
D. ?array.find(callback [, thisArg])


Answer: B

Computer Science & Information Technology

You might also like to view...

Class FontMetrics declares methods that can be used to obtain the following font metrics ________.

a. ascent, descent and height b. ascent, descent and leading c. height and leading d. All of the above.

Computer Science & Information Technology

Widget ____ are software add-ons used to enhance a particular browser.

A. layouts B. sidebars C. apps D. applets

Computer Science & Information Technology

In documents such as a newsletter, ________ should be used sparingly so the document does not look busy and become difficult to read

A) bullets B) leader characters C) sections D) color s

Computer Science & Information Technology

If there are two or more user ________ on the computer start-up screen, click on your own and sign in.

a. Icons b. Workspaces c. Names d. Areas

Computer Science & Information Technology