![]() |
v8 14.1.146 (node 25.0.0)
V8 is Google's open source JavaScript engine
|
Helper function template to create an array of fixed length, initialized by the provided initializer list, without explicitly specifying the array size, e.g.
auto arr = v8::to_array<Local<String>>({v8_str("one"), v8_str("two")});
In the future, this may be replaced with or aliased to std::to_array (under consideration for C++20).