Unverified Commit a63b90e8 authored by Gerhard Stöbich's avatar Gerhard Stöbich Committed by GitHub
Browse files

doc: update attributes used by n-api samples (#35220)

Update n-api samples to create object properties matching to the JS defaults.

Using non configurable, non writable properties has its usecases but
the JS default for class methods is `configurable` and `writable`.
Js properties set by JS code `obj.prop = val` are `configurable`, `writable`
and `enumerable`.
parent ed8af4e9
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