JSFiddle - React, Tailwind, and code Playground
JavaScript
function Point (x, y)
{
this.x = x;
this.y = y;
}
var p1 = new Point (3, 5);
alert (p1.x + ", " + p1.y);
function Point (x, y)
{
this.x = x;
this.y = y;
}
var p1 = new Point (3, 5);
alert (p1.x + ", " + p1.y);