Contoh janji paling sederhana kedua


	 
	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