doc: fix n-api example string
- using a length of 6 for
"hello"
includes a terminating null yielding"hello\u0000"
- length of 5 would work,
but comparing to the N-API docs gives
NAPI_AUTO_LENGTH
instead
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
documentation is changed or added -
commit message follows commit guidelines