Skip to content

Commit

Permalink
change ?? operator by ||
Browse files Browse the repository at this point in the history
  • Loading branch information
Algorush committed Feb 21, 2024
1 parent d4f5806 commit 0819b15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/json-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ function filterJSONstreet (removeProps, renameProps, streetJSON) {
}
}

return compAttributes ?? value;
return compAttributes || value;
});
// rename components
for (var renameKey in renameProps) {
Expand Down

0 comments on commit 0819b15

Please sign in to comment.