1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

perf(webidl): fix typo from #12286 (#12336)

In a tweak commit of #12286 I accidentally eliminated the else branch ... running the slow & the fast path providing a worst of both worlds path
This commit is contained in:
Aaron O'Mullan 2021-10-05 23:37:50 +02:00 committed by GitHub
parent c555b31d40
commit 58bb63f355
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);