Sollicitatievraag bij GitLab

Does Javascript pass by value or by reference?