Pregunta de entrevista de GitLab

Does JS use pass by value or pass by reference?