Which (javascript) environments support ECMAscript 5 strict mode? (aka “use strict”)

前端 未结 4 1200
陌清茗
陌清茗 2020-12-24 06:26

ECMAScript 5 is in its final draft as I write this; It is due to include a strict mode which will prevent you from assigning to the global object, using eval, and other rest

4条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-24 06:51

    Now that it's actually released, Firefox 4 is the winner of "first browser to support ES5 Strict Mode." Now you can start using it, as long as you test in Firefox 4.


    Safari 5.1+ and Chrome 13+ Also support strict mode.


    The first One is in: Besen. Implemented in Delphi. I think it's stand-alone, but I'm not sure. But it does support strict mode.

    Found via this compatibility table.


    Jurassic claims to support ES5 Strict Mode.

提交回复
热议问题