Qualcomm Interview Question

pass by value vs pass by reference in javascript