File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -544,10 +544,21 @@ Deprecated predecessor of `console.log`.
544
544
545
545
## util.puts([ ...] )
546
546
547
- Stability: 0 - Deprecated: Use console.log() instead.
547
+ Stability: 0 - Deprecated: Use ` console.log()` instead.
548
548
549
549
Deprecated predecessor of ` console.log ` .
550
550
551
+
552
+ ## util._ extend(obj)
553
+
554
+ Stability: 0 - Deprecated: Use Object.assign() instead.
555
+
556
+ ` _extend ` was never intended to be used outside of internal NodeJS modules. The
557
+ community found and used it.
558
+
559
+ It is deprecated and should not be used in new code. JavaScript comes with very
560
+ similar built in functionality through ` Object.assign ` .
561
+
551
562
[ `Array.isArray` ] : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray
552
563
[ constructor ] : https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object/constructor
553
564
[ Customizing `util.inspect` colors ] : #util_customizing_util_inspect_colors
You can’t perform that action at this time.
0 commit comments