var Point = (function () {function Point(x,y){ this.x = (typeof x !=='undefined') ? x :0; this.y = (typeof y !=='undefined') ? y :0; } Point.prototype.clone = function () { return new Point(this.x, this.y); } };
Standard input is empty
var Point = (function () { function Point(x,y){ this.x = (typeof x !=='undefined') ? x :0; this.y = (typeof y !=='undefined') ? y :0; } Point.prototype.clone = function () { return new Point(this.x, this.y); } };
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!