Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Tests262: fixed merge() with null values.
  • Loading branch information
xeioex committed Feb 1, 2025
commit e35064cd9ab9ea48d65c56ba1f9a2ea077917c0a
2 changes: 1 addition & 1 deletion test/harness/runTsuite.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function merge(to, from) {
if (typeof r[v] == 'object' && typeof from[v] == 'object') {
r[v] = merge(r[v], from[v]);

} else if (typeof from[v] == 'object') {
} else if (typeof from[v] == 'object' && from[v] !== null) {
if (Buffer.isBuffer(from[v])) {
r[v] = Buffer.from(from[v]);

Expand Down