File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -3159,11 +3159,8 @@ required in order to enable correct proper of the reference.
3159
3159
Afterward, additional manipulation of the wrapper's prototype chain may cause
3160
3160
`napi_unwrap()` to fail.
3161
3161
3162
- *Note*: Calling `napi_wrap()` a second time on an object that already has a
3163
- native instance associated with it by virtue of a previous call to
3164
- `napi_wrap()` will cause an error to be returned. If you wish to associate
3165
- another native instance with the given object, call `napi_remove_wrap()` on it
3166
- first.
3162
+ Calling napi_wrap() a second time on an object will return an error. To associate
3163
+ another native instance with the object, use napi_remove_wrap() first.
3167
3164
3168
3165
### napi_unwrap
3169
3166
<!-- YAML
You can’t perform that action at this time.
0 commit comments