is there a way to implement promises in ie9+

前端 未结 2 1409
天命终不由人
天命终不由人 2020-12-09 15:37

I m trying to implement native promise on IE9+ and it seems that internet explorer does not Recognize the \"Promise\" class/object. I searc

2条回答
  •  时光取名叫无心
    2020-12-09 16:25

    Here's a promise implementation I wrote myself in typescript, and is tested to fully work from IE8 upwards. Yes. it's fully Promises/A+ conformant (and tested).

    Since it's written in typescript, the plan is to also get the definition up for tsd in the following days.

提交回复
热议问题