Compare `switch`, `{ key: true }.hasOwnProperty(key)` and `new Set()`
Compare
switch,{ key: true }.hasOwnProperty(key)andnew Set()