Commit 5f0b343 1 parent 2418c86 commit 5f0b343 Copy full SHA for 5f0b343
File tree 1 file changed +2
-5
lines changed
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -3146,11 +3146,8 @@ required in order to enable correct proper of the reference.
3146
3146
Afterward, additional manipulation of the wrapper's prototype chain may cause
3147
3147
`napi_unwrap()` to fail.
3148
3148
3149
- *Note*: Calling `napi_wrap()` a second time on an object that already has a
3150
- native instance associated with it by virtue of a previous call to
3151
- `napi_wrap()` will cause an error to be returned. If you wish to associate
3152
- another native instance with the given object, call `napi_remove_wrap()` on it
3153
- first.
3149
+ Calling napi_wrap() a second time on an object will return an error. To associate
3150
+ another native instance with the object, use napi_remove_wrap() first.
3154
3151
3155
3152
### napi_unwrap
3156
3153
<!-- YAML
You can’t perform that action at this time.
0 commit comments