sleep in js

Table of Contents

async function(){
    await new Promise(r => setTimeout(r, 1000));
    }

Backlinks

Author: Linfeng He

Created: 2024-04-03 Wed 20:17