Question: x is not a function?
Answer: An X Is Not a Function TypeError typically occurs in one of the following three scenarios: When a function call is made on a property of that simply isn't a function. ... When a function call is made on a built-in method that expects a callback function argument to be provided, but no such function exists.