diff options
Diffstat (limited to 'lib/output.js')
-rw-r--r-- | lib/output.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/output.js b/lib/output.js index ab9b82b4..b33bc634 100644 --- a/lib/output.js +++ b/lib/output.js @@ -520,6 +520,12 @@ function OutputStream(options) { return true; }); + PARENS(AST_NaN, function(output){ + var p = output.parent(); + if (p instanceof AST_PropAccess && p.expression === this) + return true; + }); + function assign_and_conditional_paren_rules(output) { var p = output.parent(); // !(a = false) → true |