mirror of
https://github.com/github/codeql.git
synced 2026-07-22 19:52:02 +02:00
10 lines
164 B
JavaScript
10 lines
164 B
JavaScript
function Point(x, y) {
|
|
if (!(this instanceof Point))
|
|
return new Point(x, y);
|
|
this.x = x;
|
|
this.y = y;
|
|
}
|
|
|
|
var p = new Point(23, 42),
|
|
q = Point(56, 72);
|