The Basics of How Reference Passing Works in JavaScript