-
-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
breaking changebugSomething isn't workingSomething isn't workingprpull request in reviewpull request in reviewv2
Description
when doing a for loop over TJSONObject, the for in/of is not consistent with normal arrays and dictionaries.
normally, 'for in', will loop over the indices, where 'for of' will loop over the values.
Havn't tested exhaustively, but noticed that with the TJSONValue:
{
"globals": [ 5,4,3]
}
and
<% for x in globals ; x ; betweenitems %>, <% end %>
should give
0, 1, 2
but it gives:
5, 4, 3
This is the behaviour of
<% for x of globals ; x ; betweenitems %>, <% end %>
Metadata
Metadata
Assignees
Labels
breaking changebugSomething isn't workingSomething isn't workingprpull request in reviewpull request in reviewv2