0

JavaScript を使用して、プレーン テキスト (特殊文字を含む) を JavaScript 文字列リテラルに変換する方法はありますか?

たとえば、次のテキストを文字列リテラルに変換する方法はありますか?

"Here is some text inside quotes."Here is more text inside quotes: it's not easy to write this as a string literal, so I need to automatically convert it somehow." " 
4

0 に答える 0