Question: javascript undefined is not a function?
Answer: Uncaught TypeError: undefined is not a function Occurs when attempting to call a value like a function, where the value is not a function. For example: var foo = undefined; foo(); This error typically occurs if you are trying to call a function in an object, but you typed the name wrong.