Files
ladybird/Userland/Libraries/LibJS/Runtime/DeclarativeEnvironment.cpp
Timothy Flynn 435f49d98e LibJS: Allow direct index-based initialization of a declarative binding
Similar to the direct getter and setter in DeclarativeEnvironment, there
are cases where we already know the index of a binding and can avoid a
O(n) lookup to re-find that index.
2022-03-08 23:02:12 +01:00

7.7 KiB