node
node copied to clipboard
src: fix implementation of `PropertySetterCallback`
V8 does not allow returning arbitrary values from the interceptor
setter callbacks, only a boolean return value is allowed. Since
default return value is true
, it's not even necessary to set
the return value on a successful path.
Refs: https://crbug.com/348660658
This was adapted from https://github.com/v8/node/pull/194