Pregunta de entrevista de GitLab

Does Javascript pass by value or by reference?