js Object custom extension method, jQuery throws Uncaught TypeError: matchExpr [type] .exec is not a function

 

 Jquery use when you want to add your own extension method in the Object prototype when, after starting the project, open the web page will report the above error message, tested, can be extended custom methods on a specific type under Object, such as String , extended their own methods on Array error does not result in Jquery

Guess you like

Origin www.cnblogs.com/XingXiaoMeng/p/11671528.html