"Is that JavaScript in an HTML comment inside a SCRIPT tag?" Which is exactly what the original JavaScript implementation was[0]. The HTML comment was to prevent browsers that did not support specific tags from choking on them. And the OBJECT tag has always used it's child elements to give configuration for the external resource it represents.
This is no better or worse than:
"Is that JavaScript in an HTML comment inside a SCRIPT tag?" Which is exactly what the original JavaScript implementation was[0]. The HTML comment was to prevent browsers that did not support specific tags from choking on them. And the OBJECT tag has always used it's child elements to give configuration for the external resource it represents.
https://web.archive.org/web/20001101095326/http://www.javasc...