-
-
Notifications
You must be signed in to change notification settings - Fork 35
Closed
Description
For the V8 implementation of napi_instanceof
, we look up the value of Symbol.hasInstance
, so that we can check if a particular constructor has customized the instanceof
behavior.
As an optimization, the Symbol.hasInstance
value could be cached (for each napi_env
), which will save some extra work of looking it up for each call to napi_instanceof
.
Metadata
Metadata
Assignees
Labels
No labels