File size: 390 Bytes
0e239c6
1
Node-API needs an efficient object-construction path that accepts property-name and property-value arrays without mutating caller-owned values. Coordinate the runtime's `node_api_create_object_with_properties` C API and the `Napi::Object::New` overload in node-addon-api so the arrays are treated as read-only and the C++ wrapper provides atomic object construction with matching semantics.