logo

Crowdly

Browser

Add to Chrome

Context: const arr = [1, 2, 3, 4, 5]; const odds = arr.filter(num => num % 2 !...

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

Context:

const arr = [1, 2, 3, 4, 5];

const odds = arr.filter(num => num % 2 !== 0);

console.log(odds);

What will odds contain?

0%
0%
0%
0%
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