While troubleshooting a pdf-lib issue, I'm seeing this, to me unfamiliar, notation:
{ e => e }
In the screenshot below I see that what I believe is a property called "dict" of an object called "catalog". The property "dict" is a map data structure.
The double bracketed [[Entries]] notation is what I believe signifying a javascript internal property, and I believe may be read as similar to the
map.entries()
method. Thus, I would expect that what I see below it would be the output of the map entries, the map's key-pair values.Now, this is where things become foggy for me. The key's from this map seem to be numerical values 0-5, and its value are the aforementioned
{ e => e}
. The curly brackets are reminiscent of both objects and functions, and there seems to be an arrow function in there...?
Screenshot: