It works like that. If lhs has one element and rhs has several values, then lhs gets the assigned array of values, for example this.
a = 1,2,3
If lhs has more elements than rhs , then excess elements in lhs discarded
a,b,c = 1,2
therefore
a, = 1,2,3 #=> a = 1 . The rest, that is, [2,3], are discarded
source share