Wpis z mikrobloga

@muffy: http://www.ecma-international.org/ecma-262/6.0/#sec-automatic-semicolon-insertion:

Certain ECMAScript statements (empty statement, let, const, import, and export declarations, variable statement, expression statement, debugger statement, continue statement, break statement, return statement, and throw statement) must be terminated with semicolons. Such semicolons may always appear explicitly in the source text. For convenience, however, such semicolons may be omitted from the source text in certain situations. These situations are described by saying that semicolons are automatically inserted into
@Marmite: taki, ze mozna stawiac albo nie stawiac pierdyliard roznych stylow i tylko nieoficjalne guidelines i best practices gdzies po githubach

edit. moge byc troche nie sprawiedliwy z tym osadem bo siedze nad projektem w js wlasnie od rana i marnie mi idzie
@Marmite: Z tego co wiem, to praktycznie nie ma z tym problemów. Tym bardziej jak transpilujesz (?) kod Babelem do ES6 czy TypeScriptem. W pracy piszę ze średnikami, w domu bez. :)

To wyżej to był żart. Ogólnie to nie ma większego znaczenia. Ludzie nie stawiają i stawiają średniki w złych miejscach.