Commit 673c1fd
test: avoid using Object.prototype methods directly on objects
This prepares us to enable the no-prototype-builtins ESLint rule.
Refs: https://eslint.org/docs/rules/no-prototype-builtins
PR-URL: #41801
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Mestery <mestery@protonmail.com>1 parent 4660c1f commit 673c1fdCopy full SHA for 673c1fd
File tree
Expand file treeCollapse file tree
2 files changed
+5
-5
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
2 files changed
+5
-5
lines changedOpen diff view settings
Collapse file
test/parallel/test-console-group.js
Copy file name to clipboardExpand all lines: test/parallel/test-console-group.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
151 | 151 | |
152 | 152 | |
153 | 153 | |
154 | | - |
| 154 | + |
155 | 155 | |
156 | 156 | |
157 | 157 | |
|
Collapse file
test/parallel/test-stream-base-prototype-accessors-enumerability.js
Copy file name to clipboardExpand all lines: test/parallel/test-stream-base-prototype-accessors-enumerability.js+4-4Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
14 | 14 | |
15 | 15 | |
16 | 16 | |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
21 | 21 | |
0 commit comments