Open jugglingcats opened 1 year ago
Since FEATURE_ENABLE_JAVA_MAP_ACCESS
is broken, it is disabled by default. We have not found a way to fix this without breaking compatibility.
By the way, for-of is useful in this case. ref. #846
"function(doc) { for ( var key in doc ) {java.lang.System.out.println(doc[key].toString())} }"
It seems numeric keys cause an issue in the following case:
Output:
Reading related issue #1161, I could understand that doc["200"] might be treated as doc[200] and therefore be
undefined
, but I don't believe this use case should throw an error.