Canonicalize "is a JS string" tests

XMLWordPrintable

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

        Nashorn has almost 3 dozen "obj instanceof String || obj instanceof ConsString" checks. It'd make sense standardizing this into a JSType.isString(obj) method.

              Assignee:
              Attila Szegedi
              Reporter:
              Attila Szegedi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: