What does the syntax x:y mean in JavaScript?

后端 未结 0 1754
隐瞒了意图╮
隐瞒了意图╮ 2021-01-07 12:30

I am following a course on blockchain which has the following piece of code. What does " index:this.chain.length+1 " mean? Is index a variable in the object newBlo

相关标签:
回答
  • 消灭零回复
提交回复
热议问题