what is the difference between single and double quotes in javascript?
There is really no difference in the end between using single or double quotes, meaning they both represent a string in the end. ... So a double quoted string can have single quotes without escaping them, and a single quoted string can have double quotes within it without having to escape them.