GitLab interview question

Does JS use pass by value or pass by reference?