Pergunta de entrevista da empresa GitLab

Does JS use pass by value or pass by reference?