Skip to main content
Commonmark migration
Source Link

Apparently ECMAScript officially allows "HTML like" comments:

B.1.3 HTML-like Comments

 

The syntax and semantics of 11.4 is extended as follows except that this extension is not allowed when parsing source code using the goal symbol Module:

HTMLCloseComment:: WhiteSpaceSequence opt SingleLineDelimitedCommentSequence opt --> SingleLineCommentChars opt 

Which suggests that whatever comes after --> should be treated as a comment.

Apparently ECMAScript officially allows "HTML like" comments:

B.1.3 HTML-like Comments

 

The syntax and semantics of 11.4 is extended as follows except that this extension is not allowed when parsing source code using the goal symbol Module:

HTMLCloseComment:: WhiteSpaceSequence opt SingleLineDelimitedCommentSequence opt --> SingleLineCommentChars opt 

Which suggests that whatever comes after --> should be treated as a comment.

Apparently ECMAScript officially allows "HTML like" comments:

B.1.3 HTML-like Comments

The syntax and semantics of 11.4 is extended as follows except that this extension is not allowed when parsing source code using the goal symbol Module:

HTMLCloseComment:: WhiteSpaceSequence opt SingleLineDelimitedCommentSequence opt --> SingleLineCommentChars opt 

Which suggests that whatever comes after --> should be treated as a comment.

Fixed invalid link.
Source Link
Pang
  • 10.2k
  • 146
  • 87
  • 126

Apparently ECMAScript officially allows "HTML like" comments"HTML like" comments:

B.1.3 HTML-like Comments

The syntax and semantics of 11.4 is extended as follows except that this extension is not allowed when parsing source code using the goal symbol Module:

HTMLCloseComment:: WhiteSpaceSequence opt SingleLineDelimitedCommentSequence opt --> SingleLineCommentChars opt 

Which suggests that whatever comes after --> should be treated as a comment.

Apparently ECMAScript officially allows "HTML like" comments:

B.1.3 HTML-like Comments

The syntax and semantics of 11.4 is extended as follows except that this extension is not allowed when parsing source code using the goal symbol Module:

HTMLCloseComment:: WhiteSpaceSequence opt SingleLineDelimitedCommentSequence opt --> SingleLineCommentChars opt 

Which suggests that whatever comes after --> should be treated as a comment.

Apparently ECMAScript officially allows "HTML like" comments:

B.1.3 HTML-like Comments

The syntax and semantics of 11.4 is extended as follows except that this extension is not allowed when parsing source code using the goal symbol Module:

HTMLCloseComment:: WhiteSpaceSequence opt SingleLineDelimitedCommentSequence opt --> SingleLineCommentChars opt 

Which suggests that whatever comes after --> should be treated as a comment.

Source Link
last-child
  • 4.9k
  • 1
  • 23
  • 20

Apparently ECMAScript officially allows "HTML like" comments:

B.1.3 HTML-like Comments

The syntax and semantics of 11.4 is extended as follows except that this extension is not allowed when parsing source code using the goal symbol Module:

HTMLCloseComment:: WhiteSpaceSequence opt SingleLineDelimitedCommentSequence opt --> SingleLineCommentChars opt 

Which suggests that whatever comes after --> should be treated as a comment.