Skip to content

Instantly share code, notes, and snippets.

@redspider
Created January 1, 2011 22:27
Show Gist options
  • Save redspider/762058 to your computer and use it in GitHub Desktop.
Save redspider/762058 to your computer and use it in GitHub Desktop.
var sys = require("sys");
var class = function () {
var V = 0;
var method = function (i) {
V+=i;
}
}
class.method(1);
sys.print(class.V);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment