How works key assigning function parameter in data function?

How works key assigning function parameter in data function?
0

#1

pen: [ https://codepen.io/ustvarno/pen/AXxwWv ]

i write console.log debug msg and cant understand why counting is up to 12? What is behind the scenes for data function with key function parameter?