[Filed by Copilot on behalf of @bghgary]
Describe the bug
Node-API-JSI’s Napi::Object::Delete overloads throw std::runtime_error("TODO") instead of deleting the requested property. The implementation is currently stubbed.
To Reproduce
auto object = Napi::Object::New(env);
object.Set("value", 1);
object.Delete("value");
The final call throws "TODO".
Expected behavior
Object::Delete should delete the property and return the result without throwing.
Screenshots
N/A
Other
- Platform: Windows x64 with the JSI backend.
[Filed by Copilot on behalf of @bghgary]
Describe the bug
Node-API-JSI’s
Napi::Object::Deleteoverloads throwstd::runtime_error("TODO")instead of deleting the requested property. The implementation is currently stubbed.To Reproduce
The final call throws
"TODO".Expected behavior
Object::Deleteshould delete the property and return the result without throwing.Screenshots
N/A
Other