In javascript it works a bit differently an object is a reference if it’s a string or float it’s a copy