Segundo exemplo mais simples de promessa


	 
	async  function send()
	 {
	 
	
		let hw  = await new Promise((resolve)=>{


			setTimeout(resolve("HELLO WORLD"), 1000);
		})

 



console.log(hw);
}
/*basically resolve() is 'giving' you the value*/
Javasper