Pergunta de entrevista da empresa Razorpay

Q: Output of const { b = console.log("hey") } = { b: 2 };

Resposta da entrevista

Sigiloso

1 de dez. de 2022

Check destructuring on MDN for this. This is a trick question.