# Error while documentation

**URL:** <https://discourse.processing.org/t/error-while-documentation/14914>\
**Category:** p5.js\
**Created:** [October 24, 2019, 8:25am UTC](https://discourse.processing.org/t/error-while-documentation/14914 "2019-10-24T08:25:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [October 24, 2019, 8:25am UTC](https://discourse.processing.org/t/error-while-documentation/14914/1 "2019-10-24T08:25:18Z")

</div>

want inform about a funny problem with content in a

> /\*  
> documentation  
> \*/

section of a p5.js code  
example: [p5.js Web Editor](https://editor.p5js.org/kll/sketches/7iV_cZS2T)

 ![p5js_error_documentation](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/3/332ebbfd37611ade92ae1fa835a91d0f7ec85137.png)

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

---

<div class="post-metadata">

**Author:** ![Tiemen](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/tiemen/32/5477_2.png) [@Tiemen](https://discourse.processing.org/u/Tiemen)\
**Post date:** [October 24, 2019, 9:41am UTC](https://discourse.processing.org/t/error-while-documentation/14914/2 "2019-10-24T09:41:48Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [November 9, 2019, 8:45pm UTC](https://discourse.processing.org/t/error-while-documentation/14914/3 "2019-11-09T20:45:49Z")

</div>

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

- [https://github.com/processing/p5.js-web-editor/issues](https://github.com/processing/p5.js-web-editor/issues)

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [November 10, 2019, 1:10am UTC](https://discourse.processing.org/t/error-while-documentation/14914/4 "2019-11-10T01:10:35Z")

</div>

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:

```auto
 /* .. <!-- .. <..> .. --> .. */

```

like:

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

```
