why “Single-quoted string preferred over double-quoted string.” in js?

前端 未结 4 2343
不知归路
不知归路 2021-02-19 01:22

While using gjslint, I got a hint: \"Single-quoted string preferred over double-quoted string\".

So why? I\'m a little confused with this. Why single-quoted preferred?

4条回答
提交回复
热议问题