How does js reverse escape the slash?

clipboard.png

C:\ Program Files\ Git

for example, in this path, there is no slash after assignment.

how to solve this problem without adding\?

in addition, I tried to enter this string in input, and then listened to the blur event. When I lost focus, I assigned value to a variable. At this time, the value of this variable is correct. Why?

Jun.19,2022

is that what you mean?
clipboard.png


let str = 'C:\\Program Files\\Git'

you have to add it. You can wrap it in three dots and display it because you treat it as text

.
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-1ea0c84-478e4.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-1ea0c84-478e4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?