Skip to content Skip to sidebar Skip to footer

Mystery Letters In A Javascript Object Summary In Chrome's Console

When I log a javascript object in Chrome's console, I see a list of objects: [▶ d, ▶ d, ▶ d, ▶ p, ▶ k, ▶ k, ▶ k, ▶ k, ▶ k, ▶ k, ▶ d] Clicking each triangle e

Solution 1:

As mentioned by commenters, those are the names of constructor functions – but in this case, those names have been inferred by Chrome's V8 engine, and assigned for your convenience in the console, as explained in this answer:

How does DevTools determine an object's constructor's name?

In all likelihood, those letters are the names assigned to the functions by the minification process, and may or may not have any relation to the functions' original unminified names.

So no, they're not accessible through the object in any handy way, because they're not official properties of the object – they're just there for your convenience, because it's nicer in the console than an array of anonymous [ Objects ].

Post a Comment for "Mystery Letters In A Javascript Object Summary In Chrome's Console"