how to create a point in js code example Example: how to create a point in js var point = new Point(10, 5);