search

Home  >  Q&A  >  body text

javascript - console.log

When console.log debugs the output array in chrome, an id appears. Is this id the address of the array in memory?

[Object, Object, Object, __ob__: Observer]
0: Object
1: Object
2: Object
__ob__: Observer
dep: Dep
id: 2
subs: Array[1]
__proto__: Dep
value: Array[3]
vmCount: 0
__proto__: Observer
length: 3
__proto__: Object[0]
代言代言2708 days ago766

reply all(2)I'll reply

  • 迷茫

    迷茫2017-07-05 11:03:23

    If I’m right, this ID should be the ID given by vue

    reply
    0
  • 漂亮男人

    漂亮男人2017-07-05 11:03:23

    No, this id is a key in the object called id

    reply
    0
  • Cancelreply