Closed
Description
- Subsystem: N-API
See the description of parameters:
https://github.com/nodejs/node/blob/master/doc/api/n-api.md#napi_create_function
vs.
https://github.com/nodejs/node/blob/master/doc/api/n-api.md#napi_create_function-1
The first one appears to be correct - it takes 6 parameters, not 5.
Might be beneficial to link from one part of the docs to the other, so that you don't have to maintain docs for this function in two places?