Commit 112ec73
util: isEqualBoxedPrimitive: ensure both values are actual boxed Symbols
... before trying to valueOf them
PR-URL: #29029
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>1 parent 8426077 commit 112ec73Copy full SHA for 112ec73
File tree
Expand file treeCollapse file tree
1 file changed
+5
-2
lines changedOpen diff view settings
Filter options
- lib/internal/util
Expand file treeCollapse file tree
1 file changed
+5
-2
lines changedOpen diff view settings
Collapse file
lib/internal/util/comparisons.js
Copy file name to clipboardExpand all lines: lib/internal/util/comparisons.js+5-2Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
98 | 98 | |
99 | 99 | |
100 | 100 | |
101 | | - |
102 | | - |
| 101 | + |
| 102 | + |
| 103 | + |
| 104 | + |
| 105 | + |
103 | 106 | |
104 | 107 | |
105 | 108 | |
|
0 commit comments