Problems with nested single quotes and double quotes
自律者自由
自律者自由 2017-10-24 23:35:26

First sentence: var str = "My name is'" name "'"

Second sentence: var str = "My name is\"" name "\""

You said that only double quotes can be nested within single quotes, and only single quotes can be nested within double quotes. I can understand the first sentence, but I can't understand the second sentence because it is full of double quotes.

自律者自由
自律者自由

reply all(3)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!