ES6 for..of should work on Java Iterables and Java arrays

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: core-libs
    • b119
    • generic
    • generic

      for..of statement works only for ScriptObjects that implement ES6 iterables. We want "for each" extension to be replaced by "for..of" as much as possible. It'd be nice if for..of works on Java Iterables and arrays. double[] and int[] work with for..of because these are wrapped as NativeArrays - but not for other Java arrays.

            Assignee:
            Sundararajan Athijegannathan
            Reporter:
            Sundararajan Athijegannathan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: