Home
Javascript Fundamentals
# Javascript basics
# Javascript arrays
# Javascript objects
# Javascript dates
# Javascript Sets
Javascript DOM
# DOM selector methods
# Events and user interactions
# DOM manipulation
# DOM fundamentals
# Recursive functions
Challenge Rush
Random Challenge
// Write a function that takes a Set and a value as argument// If existing in the Set, remove the value from the Set// Return the result function myFunction ( set, val ) { return }
return
myFunction(new Set([1, 2, 3]), 1)
new Set([2, 3])
myFunction(new Set('12345'), '3')
new Set(['1', '2', '4', '5'])
myFunction(new Set([1, 2, 3]), 4)
new Set([1, 2, 3])