We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86644b9 commit 28b95a5Copy full SHA for 28b95a5
benchmark/http/check_invalid_header_char.js
@@ -55,7 +55,7 @@ const bench = common.createBenchmark(main, {
55
56
function main({ n, input }) {
57
let inputs = [input];
58
- if (groupedInputs.hasOwnProperty(input)) {
+ if (Object.hasOwn(groupedInputs, input)) {
59
inputs = groupedInputs[input];
60
}
61
0 commit comments