text: // Função delay aciona o .then após 1s
  // const delay = () => new Promise(resolve => setTimeout(resolve, 1000));
  // function umPorSegundo() {
  //   delay().then(() => {
  //     console.log("1s");
  //     delay().then(() => {
  //       console.log("2s");
  //       delay().then(() => {
  //         console.log("3s");
  //       });
  //     });
  //   });
  // }
  // umPorSegundo();
  
  import "@babel/polyfill";
  const delay = () => new Promise(resolve => setTimeout(resolve, 1000));
  
  async function umPorSegundo() {
    await delay();
    console.log("1s");
    await delay();
    console.log("2s");
    await delay();
    console.log("3s");
  }
  
  umPorSegundo();
  