https://codereview.appspot.com/257910043/diff/1/src/com/google/caja/ses/startSES.js
File src/com/google/caja/ses/startSES.js (right):
https://codereview.appspot.com/257910043/diff/1/src/com/google/caja/ses/startSES.js#newcode308
src/com/google/caja/ses/startSES.js:308: if (opt_mitigateOpts ===
undefined || opt_mitigateOpts === null) {
On 2015/07/23 19:17:37, MarkM wrote:
We have (or at least I have) generally said "void 0" rather than
"undefined".
Both "void" and "null" are keywords, so we never need to worry about
them being
shadowed. (And "void 0" is actually shorter ;).)
I object in principle to this because we are not actually being fully
defensive against shadowing and this practice incorrectly suggests we
are attempting it.
However, changed for consistency.
https://codereview.appspot.com/257910043/
--
---
You received this message because you are subscribed to the Google Groups "Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.