Skip to content

Instantly share code, notes, and snippets.

@zacker330
Created March 20, 2013 12:29
Show Gist options
  • Save zacker330/5204295 to your computer and use it in GitHub Desktop.
Save zacker330/5204295 to your computer and use it in GitHub Desktop.
确定当前的javascript是否为严格模式
var strict = (function(){ return !this; }());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment