UNPKG

586 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3class TriWara {
4 constructor(id, urip, name) {
5 this.id = id;
6 this.urip = urip;
7 this.name = name;
8 Object.freeze(this);
9 }
10 static get values() { return _C_VAL; }
11 static get PASAH() { return _C_VAL[0]; }
12 static get BETENG() { return _C_VAL[1]; }
13 static get KAJENG() { return _C_VAL[2]; }
14}
15exports.TriWara = TriWara;
16const _C_VAL = [
17 new TriWara(0, 9, "Pasah"),
18 new TriWara(1, 4, "Beteng"),
19 new TriWara(2, 7, "Kajeng"),
20];
21Object.freeze(_C_VAL);