Tag Archives: Front end problem summary

Ie11 reports an error unhandled promise rejection typeerror: the object does not support

The problem of ie11 is the biggest problem. At this time, you should check the most likely place of the problem step by step
I make this error because I use the following code when making type judgment:
toString. Call (svalue)==‘ [object date] ‘
such a writing method is not recognized in ie, and an unhandled promise rejection typeerror will be reported: the object does not support it, so it is necessary to change the writing method

Object.prototype.toString.call(sValue) !== ‘ [object date] ‘
this way of writing is recognized by ie