Pergunta de entrevista da empresa Capgemini

They asked one JavaScript coding question, and another question where I had to predict the output of a JavaScript code snippet and explain the reason behind it.

Resposta da entrevista

Sigiloso

15 de dez. de 2025

For the coding question, I wrote the required code. For the output-based question, I explained the execution step by step by doing a dry run of the code.