On Feb 5, 2015, at 7:24 AM, Alex Kocharin wrote:

>  
> Why is there two of them, not one?

It was my invention, so take this as definitive...

In 2008 (or maybe 7) when we were came up with the strings for mode directives 
idea, there was no obvious preference among JS programmers in their use of  " 
and ' for string literals. So since there was no reason to prefer one over the 
other we allowed for both. 

Allen

_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to