Context
In PHP, there is a difference between the use of single and double quotes. In this case, single quotes are for "% common%", and double quotes, used when you want to process strings
(concatenate, for example).
Question
Is there any difference between using " and ' for string
in Javascript? Is there any change in performance, or conflicts with strings
, for example? >
Example
alert('foo'); // Aspas simples
alert("bar"); // Aspas duplas