Skip to content
Browse files

n-api: document the look of napi_external values

Describe what JavaScript values of type `napi_external` look like in

Fixes: nodejs/abi-stable-node#306
PR-URL: #20426
Reviewed-By: Michael Dawson <>
Reviewed-By: Vse Mozhet Byt <>
  • Loading branch information...
gabrielschulhof authored and MylesBorins committed Apr 28, 2018
1 parent 7ac491b commit 1908668826ff3dc38f826afd31665b2e6b483543
Showing with 3 additions and 0 deletions.
  1. +3 −0 doc/api/
@@ -1051,6 +1051,9 @@ the ECMAScript Language Specification.
In addition to types in that section, `napi_valuetype` can also represent
`Function`s and `Object`s with external data.

A JavaScript value of type `napi_external` appears in JavaScript as a plain
object such that no properties can be set on it, and no prototype.

#### napi_typedarray_type
typedef enum {

0 comments on commit 1908668

Please sign in to comment.
You can’t perform that action at this time.