Export SVG file from p5.js?

Hello Javagar, thank you for the welcome and for the reply!

Ok I did not know that was Python. I just now deleted that part of the code but still it does not work.

Was that even the right code to have at the bottom of my editor to export an SVG file? Is there a better place I can look for the proper p5.js svg export code?

(sidenote: I am using the web browser as my editor)

Thank you!