Skip to content

events: remove unnecessary checks

Rodrigo Muino Tomonari requested to merge github/fork/cjihrig/events into master
Checklist
  • make -j8 test (UNIX), or vcbuild test nosign (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

events

Description of change

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.

Merge request reports

Loading