It does exactly what I think it does, which is either iterate over the properties if it's an object or the elements if it's an array. This is true for Vue and Javascript. I suggest you read the documentation I linked earlier.
Also Vue's directives are not JS. It's a separate DSL. I've repeated this enough so I'll end this discussion here.