doc: fix outdated code sample in n-api.md
code samples of napi_create_object and napi_property_descriptor were not updated to latest API. PR-URL: https://github.com/nodejs/node/pull/15581 Reviewed-By:Luigi Pinca <luigipinca@gmail.com> Reviewed-By:
James M Snell <jasnell@gmail.com>
parent
f98687db
Please register or sign in to comment