Ruby 是pass-by-value,但是values 是references,Pass by reference value 可能是相對準確的說法。 回頭看看上面的code,把 object_id 印出來觀察, ...
確定! 回上一頁