I suspect it&#x27;s mostly preference &amp; less keystrokes (single tick requires no shift key). All the answers on stack overflow seem to indicated there&#x27;s not really a difference:<p><a href="http:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;3149192&#x2F;difference-between-single-quotes-and-double-quotes-in-javascript" rel="nofollow">http:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;3149192&#x2F;difference-betwee...</a><p><a href="http:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;242813&#x2F;when-to-use-double-or-single-quotes-in-javascript" rel="nofollow">http:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;242813&#x2F;when-to-use-double...</a>