Const
Asserts that the subject is a WeakSet instance.
expect(new WeakSet(), 'to be a WeakSet'); // passesexpect(new Set(), 'to be a WeakSet'); // fails Copy
expect(new WeakSet(), 'to be a WeakSet'); // passesexpect(new Set(), 'to be a WeakSet'); // fails
Asserts that the subject is a WeakSet instance.