From 027e73806455fe733f8c67ace9ef1d7a2796c5a4 Mon Sep 17 00:00:00 2001 From: Deokjin Kim Date: Tue, 29 Nov 2022 18:56:43 +0900 Subject: [PATCH] doc: add `options` parameter to eventTarget.removeEventListener options parameter is available for eventTarget.removeEventListener, but it's not described. PR-URL: https://github.com/nodejs/node/pull/45667 Reviewed-By: Daeyeon Jeong Reviewed-By: Antoine du Hamel --- doc/api/events.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/events.md b/doc/api/events.md index e776e0ec4017d1..ce36bb7dbcd05a 100644 --- a/doc/api/events.md +++ b/doc/api/events.md @@ -1974,7 +1974,7 @@ Dispatches the `event` to the list of handlers for `event.type`. The registered event listeners is synchronously invoked in the order they were registered. -#### `eventTarget.removeEventListener(type, listener)` +#### `eventTarget.removeEventListener(type, listener[, options])`