2 ms·
Because a lot of JS developers have traditionally manipulated strings of HTML, which have standardised on double quotes for attributes. Also, straight quotes a
by robin_reala 11y ago
Because a lot of JS developers have traditionally manipulated strings of HTML, which have standardised on double quotes for attributes.
Also, straight quotes as punctuation are ugly; ‘ and ’ look much nicer.