1 point

#15 Data Structures with JS examples: Sets - Frontend Weekly - Medium


dashboard

Fri May 29 2020 16:08:25 GMT+0000 (UTC)

Posted by @newborn #javascript

delete(item){
  if(!this.has(item)){
    return false
  }
  delete items[item]
  size--
  return true
}
content_copy Copy

https://medium.com/front-end-weekly/15-data-structures-with-js-examples-sets-5c0c7e52203