Test is async/await works

by Alexander Terehov

JavaScript

testAsync()

async function testAsync() {
	console.log('a')
  await(timer())
  console.log('c')
}

async function timer() {
	setTimeout(() => console.log('b'), 500)
}