mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 23:27:56 +03:00
13 lines
525 B
JavaScript
13 lines
525 B
JavaScript
|
var enumdule, enumdule1;
|
||
|
!function(enumdule) {
|
||
|
var Point = function(x, y) {
|
||
|
"use strict";
|
||
|
(function(instance, Constructor) {
|
||
|
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
||
|
})(this, Point), this.x = x, this.y = y;
|
||
|
};
|
||
|
enumdule.Point = Point;
|
||
|
}(enumdule1 || (enumdule1 = {
|
||
|
})), (enumdule = enumdule1 || (enumdule1 = {
|
||
|
}))[enumdule.Red = 0] = "Red", enumdule[enumdule.Blue = 1] = "Blue", enumdule1.Red, new enumdule1.Point(0, 0);
|