Skip to content
Advertisement

Tag: quotes

How does Google Closure Compiler handle quotes (string literals)?

The question ‘How does Google Closure Compiler handle quotes (string literals)?’ could also be re-phrased like: Why does Closure replace/swap single quotes with double quotes? How does Closure decide what quote- formatting/style to use? (How) can I change this (default) behavior? Note 1: this question is not about why Closure (or some other minifiers) have chosen to prefer double quotes

Advertisement