Skip to content

Instantly share code, notes, and snippets.

@hilukasz
Created April 29, 2012 21:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hilukasz/2553386 to your computer and use it in GitHub Desktop.
Save hilukasz/2553386 to your computer and use it in GitHub Desktop.
var point = new Point(this);
undefined
point
Point
x: DOMWindow
y: undefined
__proto__: Point
constructor: function Point(x, y) {
translate: function (x, y) { this.x+=x; this.y+=y }
__proto__: Object
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment