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?