Pergunta de entrevista da empresa GlobalLogic

Q4. Based on my answer to the question above, he mentioned this code? - He said, that you are saying javascript is async. then what will be the output of this code console.log("a") Promise. execution() console.log("b") Will it wait to resolve promise or it will execute parallely ?

Resposta da entrevista

Sigiloso

27 de set. de 2022

Answer is: It will not wait, and run parallely