Skip to content

Instantly share code, notes, and snippets.

@k0nserv
Created December 30, 2013 11:08
Show Gist options
  • Save k0nserv/8180757 to your computer and use it in GitHub Desktop.
Save k0nserv/8180757 to your computer and use it in GitHub Desktop.
With example in javascript. Given that no other definition of sin exists in scope the value of x will be 1.
with (Math) {
var x = sin(PI / 2); //1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment