Google's v8 question.

Asked 2 years ago, Updated 2 years ago, 21 views

Hello. I have a question about chrome browser's javascript engine v8 that Google is conducting as an open source project.

I'm confused because I'm studying on my own.

v8 Description

If you look at the link above, you can see how to use the Accessing Dynamic Variable in the Accessor part. Looking at this content, I know that the accessor calls back when accessing a specific object property of javascript, but when I tried to use it, it made an object and registered it as a global object, and then approached the property to become a callback. Or if you register with global with the same name as the object name in the javascript syntax, it becomes a bind to the object and becomes a callback when accessing the property.

I don't know what's wrong, but if I do it, I don't think I'm going to be a callback TT.

Please help me if you know. Thank you (__)

v8 c++

2022-09-21 19:51

1 Answers

Do you need to customize the javascript itself? I don't understand the purpose This part explains in javascript the callback principle corresponding to the object and its property approach.


2022-09-21 19:51

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.