GitLab Interview Question

Does Javascript pass by value or by reference?