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