| 24 | } |
| 25 | |
| 26 | Value DeletePropertyWithCStyleString(const CallbackInfo& info) { |
| 27 | Object obj = info[0].UnsafeAs<Object>(); |
| 28 | String jsKey = info[1].As<String>(); |
| 29 | return Boolean::New( |
| 30 | info.Env(), MaybeUnwrapOr(obj.Delete(jsKey.Utf8Value().c_str()), false)); |
| 31 | } |
| 32 | |
| 33 | Value DeletePropertyWithCppStyleString(const CallbackInfo& info) { |
| 34 | Object obj = info[0].UnsafeAs<Object>(); |
nothing calls this directly
no test coverage detected