wavebeem

world wide weirdo

ย 

๐Ÿ’• @hauntedlatte

๐Ÿ  portland, or, usa

๐Ÿ“† mid-30s

๐Ÿ’ฌ here to make friends and chat

ย 


ย 

๐ŸŽฎ video games
๐Ÿ‘ฉ๐Ÿปโ€๐Ÿ’ป web development
๐Ÿ‘ฉ๐Ÿปโ€๐Ÿซ teaching others

ย 


ย 

๐ŸŽจ digital aesthetics
๐Ÿ’…๐Ÿป makeup & jewelry
๐Ÿ‘— gothic fashion
๐Ÿ‘ฉ๐Ÿปโ€๐ŸŽจ making pixel art

ย 


ย 

๐Ÿค˜๐Ÿป progressive metal
๐ŸŽธ video game music

ย 


ย 

๐ŸŸข everything green
๐ŸŒŸ neon colors and transparent plastic

ย 


blog + rss
wavebeem.com/
discord
@wavebeem

i've updated codehost to use the new version of my miasma theme :) it's also back as the default theme now.

new

// 3... 2... 1... Blast-off!
async function countdown(): Promise<void> {
  for (let i = 10; i > 0; i--) {
    console.log(i);
    await sleep(1000);
  }
  console.log("Blast-off!");
}

/**
 * `setTimeout` for `delay` miliseconds
 */
async function sleep(delay: number): Promise<void> {
  return new Promise((resolve) => {
    setTimeout(resolve, delay);
  });
}

countdown();
syntax highlighting by codehost

old

// 3... 2... 1... Blast-off!
async function countdown(): Promise<void> {
  for (let i = 10; i > 0; i--) {
    console.log(i);
    await sleep(1000);
  }
  console.log("Blast-off!");
}

/**
 * `setTimeout` for `delay` miliseconds
 */
async function sleep(delay: number): Promise<void> {
  return new Promise((resolve) => {
    setTimeout(resolve, delay);
  });
}

countdown();
syntax highlighting by codehost

You must log in to comment.

in reply to @wavebeem's post: