Error while documentation

want inform about a funny problem with content in a

/*
documentation
*/

section of a p5.js code
example: p5.js Web Editor

play and see that the error only is shown with the
let ( in line 18 )

1 Like

Weird. Seems like removing the <, /, or s, from the < /script> tag prevents the error from happening while using let test;

1 Like

@kll – Strange. Did you ever report this as an issue to the editor codebase?

as i found a little bit logical work around i did not do.

as the /* ..... */
is not strong for hide < .. >
from browser must do what you do inside HTML
to document something:

 /* .. <!--    .. <..> ..     -->  .. */

like:

/*
...
//_________________________________ ! INFO !
<!-- 
 need 
    <script src="myTools.js"></script>  
 inside index.html
-->
...
*/
1 Like