8

Well all thanks to JavaScript . The problem of the century was gone i.e missing semicolon . And still I see people put semicolon:true in eslint ... well what's the point of removing it in the first place then .

Comments
  • 2
    I am not hundred percent sure but maybe to due the limited knowledge of javascript I am afraid (yes) about that the production(minified) build might have error which is hard to debug or anything like that. So I would prefer to follow some standard and best practice to make sure the code output is measurable when it is in production build.
  • 1
    @zedchoo sorry mate guess this isnt the case . They do it because the code looks more readable and human friendly and it doesn't look confusing to the new programmers from other languages .
  • 2
    @kaqqao Minification puts them back... A good minifier will not operate on source code. It should parse it into an Abstract Syntax Tree and then generate the minified code from it.
Add Comment