“和”之间是否有区别? [英] Are there differences between ' and "

查看:117
本文介绍了“和”之间是否有区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


可能存在重复:

何时在JavaScript中使用双引号或单引号



$ b单引号和双引号之间的区别

$ b

我搜索了这个网站和谷歌(按照确切的顺序...)寻找:

有没有区别在'之间关于字符串 $ c> Javascript \ JQuery



没有找到任何东西。 ..

解决方案

只要您正确配对,就没有区别。

Possible Duplicate:
When to Use Double or Single Quotes in JavaScript
Difference between single quotes and double quotes in Javascript

I searched this website and google (in that exact order...) looking for:

Are there any differences between ' and " regarding to strings in Javascript\ JQuery?

Didn't find a thing...

解决方案

As long as you pair them properly there is no difference.

这篇关于“和”之间是否有区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆