search

Home  >  Q&A  >  body text

js里面单引号、双引号什么区别?

checkcheck2885 days ago870

reply all(2)I'll reply

  • 数据分析师

    数据分析师2017-09-30 23:18:44

    What is the difference between single quotes and double quotes in js? -PHP Chinese website Q&A-What is the difference between single quotes and double quotes in js? -PHP Chinese website Q&A

    Please watch and learn.

    reply
    0
  • 迷茫

    迷茫2016-12-21 09:58:48

    Js中单引号和双引号没有特殊区别,都可以用来创建字符串。但是一般情况下,我们喜欢使用单引号。

    *注:单引号中可以包含双引号,双引号也可以包含单引号。



    reply
    1
  • Cancelreply