Home > Software engineering >  v8 - how to debug Map.prototype.set and OrderedHashTable?
v8 - how to debug Map.prototype.set and OrderedHashTable?

Time:02-20

I'm learning more about v8 internals as a hobby project. For this example, I'm trying to debug and understand how Javascript Map.prototype.set actually works under-the-hood.

I'm using v8 tag 9.9.99.

I first create a new Map object in:

V8 version 9.9.99
d8> x = new Map()
[object Map]
d8> x.set(10,-10)
[object Map]
d8>            
  • Related