1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
| function Sb2CiYuan(name,stat) { this.name = name || undefined; this.stat = stat || 'unknown'; this.activity = () => { switch(Math.floor(Math.random() * 6)){ case 1,2,3: return 'study'; case 4: return 'sleep'; case 5,6: return 'play online/TCG/TRPG/other(Blood On The Clocktower)' } } } const me = new Sb2CiYuan(16,'balance'); w̶o̶r̶l̶d̶.̶e̶x̶e̶c̶u̶t̶e̶(̶m̶e̶)̶
|