The problem of js introducing variables in strings

Do not use the key that can type single and double quotation marks at the same time, use the key below the leftmost column esc (the key with ~)
The following is the difference between the two
insert image description here

Guess you like

Origin blog.csdn.net/weixin_42173136/article/details/124230952