4 ms·
> I don't see how Java fails bullet 3 if JavaScript is claimed to pass it. I understood it as Java not having a data structure that can be used as a tree avai
by cies 6y ago
> I don't see how Java fails bullet 3 if JavaScript is claimed to pass it.
I understood it as Java not having a data structure that can be used as a tree available as literal. JS has that. This is valid JS but not valid Java: [[1, 2, [1, 2, []]], [[], [], 0], 1, 2, 3]
- tom_mellior 6y agoIt might not be what the article meant since it only mentioned { } braces in connection with JavaScript, but this is a very good point!