speed up `has_parens()` (take 2) (#3052)
authorAlex Lam S.L <alexlamsl@gmail.com>
Wed, 4 Apr 2018 20:12:04 +0000 (04:12 +0800)
committerGitHub <noreply@github.com>
Wed, 4 Apr 2018 20:12:04 +0000 (04:12 +0800)
commitb5bab254ce2122a43e9ca0fdc757aecda7191576
treed88a5122bbce4c7e2dfa5411b2dae4c47a531721
parent81603ecd156f494a6b0c02655c5361152711300d
speed up `has_parens()` (take 2) (#3052)

fixes #3050
lib/output.js
test/mocha/parentheses.js [moved from test/mocha/new.js with 82% similarity]