Skip to content

Commit 849d2ee

Browse files
authored
doc: mark util.inherits as legacy
Ref: nodejs#38893.
1 parent 152d675 commit 849d2ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/api/util.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,8 @@ changes:
406406
description: The `constructor` parameter can refer to an ES6 class now.
407407
-->
408408

409+
> Stability: 3 - Legacy: It is recommended to use ES6 class `extends` instead.
410+
409411
* `constructor` {Function}
410412
* `superConstructor` {Function}
411413

0 commit comments

Comments
 (0)