Object function reference

construct

A reference entry for construct

Object function · Point

construct(string x, string y) ⇒ Point

Constructs a Point object using the supplied x and y values. The values are converted to integers internally. The constructor returns the Point object itself.