mirror of
https://github.com/github/codeql.git
synced 2025-12-26 13:46:31 +01: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);
|