logo

Crowdly

Browser

Add to Chrome

Context: Filtering an array. Result of this code? const nums = [1,2,3,4,5,6]...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Context:

Filtering an array.

Result of this code?

const nums = [1,2,3,4,5,6];

const even = nums.filter(x => x % 2 === 0);

console.log(even);

]]>
More questions like this

Want instant access to all verified answers on moodle.ncst.edu.bh?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome