3 ms·
Because JS syntax is copied from Java that uses semicolons. Omitting semicolons makes code more ambigious and one has to remember where they can and where they
by codedokode 10y ago
Because JS syntax is copied from Java that uses semicolons. Omitting semicolons makes code more ambigious and one has to remember where they can and where they cannot break a line.
JS is not a language like Ruby or Python.
If someone doesn't like typing semicolons why don't they set up their editor so that it would insert them automatically?