Files
ladybird/Userland/Libraries/LibJS/Runtime/Array.h
Linus Groh 8f3a5ba5d8 LibJS: Add Array::create_from() for generic Vector<T>
It relies on a mapper function to convert each T& to a JS::Value. This
allows us to avoid awkward Vector<T> to MarkedValueList conversion at
the call site.
2021-09-04 19:08:18 +01:00

1.6 KiB