function checkSet(){
// Only change code below this line
var set = null;
var set = new Set([1,2,3,4]);
set.delete(2,5);
console.log([…set]) // should return [ 2, 3 ]
// Only change code above this line
return set;
}
Challenge: Remove items from a set in ES6
Link to the challenge: