I flagged this answer:
Its an abomination that works. So you are correct in assuming that when you do a join function call. You pass a empty string so that there is nothing put in between the resulting string.
In javascript you can declare strings with "quotes", 'apostrophes', and
template literals
.The dev that wrote that line of code thought he was being a cool smart intellectual by skipping the opening and closing parentheses when in reality he just made his code more confusing for everyone else.
as rude or abusive, but it was rejected with the standard "a moderator reviewed your flag, but found no evidence to support it."
According to the code of conduct, personal attacks are not acceptable, which I felt the last paragraph clearly was, and when another user tried to edit that part out the OP edited it back in so I thought flagging for a moderator was the only reasonable option (interestingly, the comments calling out the OP for doing that were deleted at some point after I flagged it).
Am I wrong here? Is this an acceptable answer in its current state?
¯\_(ツ)_/¯