From 7ce9592cc0db4d131c66773188aef713ad977ca7 Mon Sep 17 00:00:00 2001 From: Voltrex <62040526+VoltrexMaster@users.noreply.github.com> Date: Wed, 2 Jun 2021 02:46:07 +0430 Subject: [PATCH] doc: mark util.inherits as legacy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/38896 Refs: https://github.com/nodejs/node/pull/38893 Reviewed-By: Anna Henningsen Reviewed-By: Antoine du Hamel Reviewed-By: Tobias Nießen Reviewed-By: Luigi Pinca Reviewed-By: Zijian Liu Reviewed-By: James M Snell Reviewed-By: Darshan Sen Reviewed-By: Zeyu Yang --- doc/api/util.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/api/util.md b/doc/api/util.md index d02e8e9299a126..4cdba522744615 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -406,6 +406,8 @@ changes: description: The `constructor` parameter can refer to an ES6 class now. --> +> Stability: 3 - Legacy: Use ES2015 class syntax and `extends` keyword instead. + * `constructor` {Function} * `superConstructor` {Function}