Skip to content

Instantly share code, notes, and snippets.

@take-cheeze
Created October 3, 2012 23:28
Show Gist options
  • Select an option

  • Save take-cheeze/3830547 to your computer and use it in GitHub Desktop.

Select an option

Save take-cheeze/3830547 to your computer and use it in GitHub Desktop.
class A {
v = 0
function bar() { v++; }
}
function setTimeout(func, delay, this_ = getroottable() {
delayFunc(delay)
return func.bindenv(this_)()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment