Project 3/2/1: The Code Critique

Code Review by Cyndi the Code Critique

A mess of JavaScript that's so bad, it's like a trainwreck that you can't look away from.

Here's the offending code:

    
      // This is a code snippet that's been left to rot for years.
      // It's a tangled mess of spaghetti code and callbacks.
      // It's a crime against humanity, really.
      function doSomething() {
        var x = 5;
        var y = 10;
        var z = x + y;
        return z;
      }
    
  

It's a wonder it even works... somehow.