Es6 reverse apostrophe string translation

clipboard.png
enter a newline character in the reverse apostrophe, which is output as is. How to make the newline character work

Feb.27,2021

do you want to output n as is or do you need a newline character? you should output a newline character


which has nothing to do with the reverse apostrophe. Where are you going to export
to the page if it is the attribute title , or textarea or the console can use n line feeds
you can use the br tag in html .

  • Press < kbd > f12 < / kbd >
  • $('body'). Append (`asdasdads\ n asdasddsd`)

although there is no newline on the page, you can see that the element outputs a newline

clipboard.png

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be744f-39c20.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be744f-39c20.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?