JS: Keep the position of end-of-line comments in binary expressions (#7787)
* JS: block comments with LogicalExpression
* Add changelog_unreleased for #7787
* Add handleBinaryExpression in comments.js
* Refactor comments.js to use isBlockComment
* Update pr-7787.md
* Update pr-7787.md
* test: regenerate snapshot for comments/logical-expression
* test: logical-expression.js as unstable tests
* test: add comments/binary-expressions-trailing-space.js
* fix: make two functions one 'handleEndOfLineBlockComments'
* Rename handleEndOfLineBlockComments to handleBinaryExpression
* Refactor handleBinaryExpression to remove unneed condition & params
* Divide and rename test files for handleBinaryExpression()
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>