V8 compiles and executes JavaScript source code, handles memory allocation for objects, and garbage collects objects it no longer needs.
function Point(x, y) {
this.x = x
this.y = y
}
var point = new Point(0,0)
point.x
# ebx = the point object
cmp [ebx,<hidden class offset>],<cached hidden class>
jne <inline cache miss>
mov eax,[ebx, <cached x offset>]
Node Package Manager