Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Point2D
- {
- constructor(public x: number, public y: number)
- {
- }
- }
- var Point2D = (function () {
- function Point2D(x, y) {
- this.x = x;
- this.y = y;
- }
- return Point2D;
- })();
- function Point2D(x, y) {
- this.x = x;
- this.y = y;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement