Skip to content

Instantly share code, notes, and snippets.

View hotohoto's full-sized avatar
🐢
daily small stepping

Hoyeong-GenGenAI hotohoto

🐢
daily small stepping
  • GenGenAI
  • Seoul, Korea
View GitHub Profile
@hotohoto
hotohoto / simpleAsyncAwait.js
Last active January 20, 2017 16:21
A simple async await example
const test = () => new Promise((resolve, reject) => {
setTimeout(() => {
return resolve('hi')
}, 100)
})
const doTest = async () => {
const ret = await test()
console.log(ret)
}