you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 1 year ago

Be careful, the actual logging can happen at a later time, and because the log function may take a reference to the value, if you modify r it may show the modified version of r in the logging instead of the original r.

  • source
  • parent