JavaScript
JavaScript 字符串
你可以在字符串中使用引号,字符串中的引号不要与字符串的引号相同
源代码:
点击运行 »
var answer = "It's alright"; var answer = "He is called 'Johnny'"; var answer = 'He is called "Johnny"';
运行结果:
点击运行 »