doc: mark util.inherits as legacy

PR-URL: https://github.com/nodejs/node/pull/38896
Refs: https://github.com/nodejs/node/pull/38893
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Zeyu Yang <himself65@outlook.com>
This commit is contained in:
Voltrex authored and Michaël Zasso committed 2021-06-11 07:24:59 +02:00
1 parent e939e243bf
commit 7a7c0588ad
1 file changed
+2
+2
View File
@@ -404,6 +404,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}