function checkSet(){
// Only change code below this line
var set = new Set([1,2,3,4,5])
set.delete(2)
set.delete(5)
// Only change code above this line
return set;
}
Challenge: Remove items from a set in ES6
Link to the challenge:
function checkSet(){
// Only change code below this line
var set = new Set([1,2,3,4,5])
set.delete(2)
set.delete(5)
// Only change code above this line
return set;
}
Challenge: Remove items from a set in ES6
Link to the challenge:
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.