Unverified Commit 2bead4ba authored by Aonghus O Nia's avatar Aonghus O Nia Committed by Ruben Bridgewater
Browse files

doc: fix exporting a function example

Missing the length argument in napi_create_function.

PR-URL: https://github.com/nodejs/node/pull/18661


Reviewed-By: default avatarMichael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: default avatarRuben Bridgewater <ruben@bridgewater.de>
Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarTobias Nießen <tniessen@tnie.de>
parent fafd5b07
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment