event::wait: return `undefined` when no arguments are given, rather than `[]`