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

PHOTO EMBED

Fri May 29 2020 16:07:59 GMT+0000 (UTC)

Saved by @newborn #javascript

has(item) {
  return typeof items[item] !== 'undefined'
}
content_copyCOPY

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