| 1140 | } |
| 1141 | |
| 1142 | inline Array Object::GetPropertyNames() const { |
| 1143 | napi_value result; |
| 1144 | napi_status status = napi_get_property_names(_env, _value, &result); |
| 1145 | NAPI_THROW_IF_FAILED(_env, status, Array()); |
| 1146 | return Array(_env, result); |
| 1147 | } |
| 1148 | |
| 1149 | inline void Object::DefineProperty(const PropertyDescriptor& property) { |
| 1150 | napi_status status = napi_define_properties(_env, _value, 1, |
no test coverage detected