10 lines
218 B
JavaScript
10 lines
218 B
JavaScript
|
const XMLHttpRequest = require("xmlhttprequest").XMLHttpRequest;
|
||
|
|
||
|
/** Tools */
|
||
|
class ToolsClass {
|
||
|
static Sleep(ms) {
|
||
|
return new Promise(resolve => setTimeout(resolve, ms));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
module.exports = ToolsClass
|