We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 %>
The text was updated successfully, but these errors were encountered:
darnocian
No branches or pull requests
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:
and
should give
but it gives:
This is the behaviour of
The text was updated successfully, but these errors were encountered: