About vector.z parameter

Vector’s methods don’t change z param. Is it supposed to have worked? If this behavior is correct, is it really ok like this?
image
image