Commit 0bf022d
console,util: improve array inspection performance
There is no need to do the own property check, since the descriptor
is needed right afterwards anyway.
PR-URL: #60037
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jordan Harband <ljharb@gmail.com>1 parent d949222 commit 0bf022dCopy full SHA for 0bf022d
File tree
Expand file treeCollapse file tree
1 file changed
+4
-3
lines changedOpen diff view settings
Filter options
- lib/internal/util
Expand file treeCollapse file tree
1 file changed
+4
-3
lines changedOpen diff view settings
Collapse file
lib/internal/util/inspect.js
Copy file name to clipboardExpand all lines: lib/internal/util/inspect.js+4-3Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2029 | 2029 | |
2030 | 2030 | |
2031 | 2031 | |
2032 | | - |
2033 | | - |
| 2032 | + |
| 2033 | + |
| 2034 | + |
2034 | 2035 | |
2035 | 2036 | |
2036 | | - |
| 2037 | + |
2037 | 2038 | |
2038 | 2039 | |
2039 | 2040 | |
|
0 commit comments