In the eyes of a beginner, what do they expect this code to do? If they're not used to writing with semicolons they might expect it to return the object, but instead they get undefined.
I do 100% agree about consistency. Whichever way you go, be consistent.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I'd argue that beginners should use semicolons to understand the implications of writing without them.
For the most part you shouldn't have any issues, but there are some gotchas that will trip up beginners.
For example,
In the eyes of a beginner, what do they expect this code to do? If they're not used to writing with semicolons they might expect it to return the object, but instead they get
undefined
.I do 100% agree about consistency. Whichever way you go, be consistent.