4 ms·It's only at the end that the value of x is 3. The puts x immediately after x = :foo does print :fooby mike 16y agoIt's only at the end that the value of x is 3. The puts x immediately after x = :foo does print :foo