JS, when a variable is assigned to another variable, does it hold a reference to that variable or the value that that variable holds at that moment?
Is JavaScript a pass-by-reference or pass-by-value language?