you are viewing a single comment's thread
view the rest of the comments
[–] 6 points 1 year ago (3 children)

It's like the real life kraken, I've never seen it but the name causes dread.

  • source
  • hideshow 3 child comments
  • [–] 17 points 1 year ago (2 children)

    This is what peak performance looks like:

    console.log("before dothething");
    let r = dothething();
    console.log("after dothething");
    console.log(r);
    
  • source
  • parent
  • hideshow 2 child 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