Frage im Vorstellungsgespräch bei Tata Consultancy Services

Whether javascript is pass by value or pass by reference