I was running against this error today. Resources on the internet that could point me in the right direction were very scarce.
Basically, after writing some JavaScript functions, all of jQuery's methods running on selectors would resuld in this error:
matchExpr[type].exec is not a function
The reason this happened, is because I had extended Object.prototype
. This breaks all looping functionality in jQuery. Read more here: Object.prototype is verboten.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With