drawpad/js/Point.js
2015-11-20 16:51:56 -05:00

14 lines
No EOL
163 B
JavaScript

'use strict';
class Point{
constructor(x,y){
this.x=x;
this.y=y;
}
toString(){
return "point["+ this.x + "," + this.y +"]";
}
}
export default Point