Skip to content

Commit

Permalink
perf(webidl): fix typo from denoland#12286
Browse files Browse the repository at this point in the history
In a tweak commit of denoland#12286 I accidentally eliminated the else branch ... running the slow & the fast path providing a worst of both worlds path
  • Loading branch information
AaronO committed Oct 5, 2021
1 parent d67e858 commit 4124890
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/webidl/00_webidl.js
Original file line number Diff line number Diff line change
Expand Up @@ -858,6 +858,7 @@
const typedValue = valueConverter(value, opts);
result[typedKey] = typedValue;
}
return result;
}
// Slow path if Proxy (e.g: in WPT tests)
const keys = ReflectOwnKeys(V);
Expand Down

0 comments on commit 4124890

Please sign in to comment.