joyent/node — pull request #8569 by KidsKilla (2014-10-17 15:21:51+00:00)
Title: cleanup for events

1) util.isObject -> Array.isArray;
2) -1 loop when .emit has 3+ arguments
3) remove unnecessary length var
4) util.isUndefined -> handler == null