What does 0 mean: ({}) in an object dump in Mozilla Firefox

I threw the object in Mozilla and I got the following:

({ length:1, prevObject:{0:({}), context:({}), length:1}, context:({}), selector:"ROOT", 0:({}) }) 

What does ({}) mean in object notation? I understand that {} means an object, but what do parentheses mean?

+4
source share
1 answer

Because {} can also mean an empty block, for example: in the console you need to enter ({}) to indicate an object.

+5
source

Source: https://habr.com/ru/post/1438219/


All Articles