Skip to content

Instantly share code, notes, and snippets.

@pbse
Created August 10, 2015 01:57
Show Gist options
  • Select an option

  • Save pbse/b9f1412f48b2396c9da5 to your computer and use it in GitHub Desktop.

Select an option

Save pbse/b9f1412f48b2396c9da5 to your computer and use it in GitHub Desktop.
Point
var p = new Point(10,13); // Very Simple. Initializing p with 10 as x and 13 as y.
var q = new Point(new Point(10,13), new Point(12,14)); // Exactly what I am referring to.
p.getPoints();
q.getPoints();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment