From 9bfde1f8f61f4ec02a1372dc6fffc5806c7e09f0 Mon Sep 17 00:00:00 2001 From: Benjamin Gruenbaum Date: Wed, 19 Jan 2022 19:39:05 +0200 Subject: [PATCH] Update doc/api/deprecations.md Co-authored-by: Mestery --- doc/api/deprecations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 9fadaeb139baf3..33d7310c4e0bb3 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -3051,7 +3051,7 @@ changes: Type: Documentation-only -This method was deprecated because it is not compatible with the +This method was deprecated because it is not compatible with `Uint8Array.prototype.slice()`, which is a superclass of `Buffer`. Use `buffer.subarray(start, end)` which does the same thing instead.