Point with comma



  • I don't know what the record is.

    var SomeVoid = function() {
        //...
    }
    от
    var SomeVoid = function() {
        //...
    };
    

    What's the point of the comma or no? What does she mean like that?



  • Clothing points are often not necessary, but their use avoids http://habrahabr.ru/blogs/javascript/111563/ and helps code packers, so it's best to put them anywhere. In this particular example, you should.


Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2