new TypeError('Not a function').message // β 'Not a function'Create a TypeError manually to signal that the wrong type of argument was passed.
TypeError extends the built-in Error class.
Challenge: Verify that a TypeError is also an instance of Error.