UNPKG

kahoot.js-latest

Version:
23 lines (22 loc) 364 B
module.exports = class LiveTimesyncData{ constructor(n,l,o){ switch (n) { case "1":{ this.timesync = { l, o, tc: Date.now() }; break; } default:{ this.ack = true; this.timesync = { l: 0, o: 0, tc: Date.now() }; } } } };