Skip to content

doc: correct JavaScript primitive value names in n-api.md

  1. Correct JavaScript primitive value names to reflect their actual types rather than the Built-in object.
  2. napi_throw can receive arbitrary JavaScript values, but not limited to objects.
  3. symbol values are not objects.
  4. this may be arbitrary JavaScript values when invoking functions (although ToObject will be performed on that value so that in the function this will always be an object).

Merge request reports

Loading