Const
Asserts that the subject is a class constructor (constructible function).
expect(Date, 'to be a class'); // passesexpect(() => {}, 'to be a class'); // fails Copy
expect(Date, 'to be a class'); // passesexpect(() => {}, 'to be a class'); // fails
Asserts that the subject is a class constructor (constructible function).