Python's set data structure for JavaScript. See docs. Parent is js-data-structures.
⚠️ Depending on your environment, the code may requireregeneratorRuntime
to be defined, for instance by importing regenerator-runtime/runtime.
set('abc').issubset( 'abcd' ) ; // true