Possible to enable “strict mode” in FireBug and Chrome's console?

前端 未结 5 835
刺人心
刺人心 2020-12-14 16:42

With this page:



  
    

        
5条回答
  •  生来不讨喜
    2020-12-14 17:30

    If you are just testing a single function in the console, you can also just put 'use strict' as the first line in the function declaration.

提交回复
热议问题