Pergunta de entrevista da empresa Qualcomm

pass by value vs pass by reference in javascript