IMO this are just bad advice, making code shorter don't make it better, if you would be Pro you will know that. If you check ESLint there are rules to always have one expression per line and always use curly braces. This just make code harder to read and harder to edit if the code is in version control.
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.
IMO this are just bad advice, making code shorter don't make it better, if you would be Pro you will know that. If you check ESLint there are rules to always have one expression per line and always use curly braces. This just make code harder to read and harder to edit if the code is in version control.