Well done!

You have completed Maps and Sets Quiz!

Quiz Question 1 of 5

Consider the following code snippet. What will mySet.has(3) return?

const mySet1 = new Set([1, 2, 3, 4]);
const mySet2 = new Set([3, 4, 5, 6]);

const intersection = new Set([...mySet1].filter(x => mySet2.has(x)));

console.log(intersection.has(3));

Choose the correct answer below:

Skip Quiz Review Instruction