EasyRememberArrays & StringsMultiple Choice

Output of [1,2,3].map(x=>x*2).filter(x=>x>2) in JavaScript?

Remember Tests recall of fundamental facts and definitions.

Answer Options

A[4,6]
B[2,4,6]
C[6]
D[4]

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 34+ more Arrays & Strings questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Arrays & Strings topic (Data Structures).

More Arrays & Strings Questions