Documentation is available in the header files, `Has` will return true
whether the property is attached on the concrete object, or on the object
prototype, while HasOwnProperty will return true only if the property is
available on the object instance, but not on the prototype.
On Thursday, December 8, 2016 at 12:48:47 AM UTC+2, kent williams wrote:
>
> If this is documented anywhere, I haven't found it.
>
> What is difference between v8::Object::Has() and
> v8::Object::HasOwnProperty()?
>
> for example:
>
> var x = { HasThisProperty : true };
>
> Both functions return true.
>
> What would be a case where one was true and the other false?
>
>
--
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.