Pergunta de entrevista da empresa Valuefy Solutions

JS --- 1. obj is passed to fn => when fn is modifying it - how to remove ref 2. spread operator only deep copies 1 layer, how to handle enitre deep copy 3. if we have setTimeout with 0 ms then how will EventLoop handle