4 lines
89 B
JavaScript
4 lines
89 B
JavaScript
|
export default (time = 0) => new Promise((resolve) => {
|
||
|
setTimeout(resolve, time);
|
||
|
});
|