In Python, there are these triple quotation marks ('''), for multiple line strings, which is very useful. Is there any way to do this in javascript?
You can use the template literal. Encase your strings in backticks (`)
For your reference, check: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With