JAVASCRIPT   19

esnext weak set of js

Guest on 26th June 2022 03:40:41 AM

  1. var $ = require('../internals/export');
  2. var of = require('../internals/collection-of');
  3.  
  4. // `WeakSet.of` method
  5. // https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.of
  6. $({ target: 'WeakSet', stat: true }, {
  7.   of: of
  8. });

Raw Paste


Login or Register to edit or fork this paste. It's free.