Swap 3 doubt , call by value or reference

does not it takes array as value as change the value of one=two which is arr=other , so how does it not change value of arr

as in swap 2 video as well ,value is changed
so why not in swap 3 case