diff options
author | cjihrig <cjihrig@gmail.com> | 2016-10-27 17:37:40 -0400 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2016-10-31 15:51:57 -0400 |
commit | 7f909c3b7922a3c7cdca03527dd6dc3687ae4e8b (patch) | |
tree | e3d70cdaeeff4daea631ad18bd494ee44606d35e /configure | |
parent | feb3531d912586099812c2962bc99173d5ef22b1 (diff) | |
download | android-node-v8-7f909c3b7922a3c7cdca03527dd6dc3687ae4e8b.tar.gz android-node-v8-7f909c3b7922a3c7cdca03527dd6dc3687ae4e8b.tar.bz2 android-node-v8-7f909c3b7922a3c7cdca03527dd6dc3687ae4e8b.zip |
events: remove unnecessary checks
This commit removes two truthy checks for object properties that
are immediately followed by a strict equality check. The other
item in the comparison is guaranteed to be a function by this
point in the code, so the truthy check is redundant.
PR-URL: https://github.com/nodejs/node/pull/9330
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions