Files
node/lib
Benjamin Gruenbaum 0a722973cb events: set default handler value
Event handler like BroadcastChannel.onmessage and AbortSignal.onabort
have a default value of `null` but we return `undefined`.

Return `null` and add a test.

PR-URL: https://github.com/nodejs/node/pull/41970
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Mestery <mestery@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2022-02-16 19:36:20 +00:00
..
2022-01-30 14:07:32 +00:00
2021-09-16 09:44:12 -04:00
2022-02-05 08:36:48 -08:00
2022-02-05 08:36:48 -08:00
2021-06-01 21:06:18 +02:00
2021-11-12 23:26:20 +01:00
2021-04-30 10:59:28 -07:00
2022-02-05 08:36:48 -08:00
2021-07-07 14:50:47 +02:00
2021-06-26 16:31:30 +02:00