Interoperability Between C++ and JavaScript in V8

How V8 maps values, exposes C++ variables, functions, and classes to JavaScript, and invokes JavaScript callbacks from C++.