Sha256: 70b8cdc9ca7272c08aaa071be0b181dfb732234c24404f7d8347279859eec55a
Contents?: true
Size: 427 Bytes
Versions: 3
Compression:
Stored size: 427 Bytes
Contents
/* globals WeakSet */ export default (typeof WeakSet === 'function' ? WeakSet : class WeakSetPolyFill { constructor() { this._map = new WeakMap(); } add(val) { this._map.set(val, true); return this; } delete(val) { return this._map.delete(val); } has(val) { return this._map.has(val); } });
Version data entries
3 entries across 3 versions & 1 rubygems