Object methods should call ToObject in ES6 mode

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: core-libs
    • None

      Many methods defined in ES5 to throw a TypeError when their argument is not an object should instead call ToObject in ES6. Nashorn should adapt its behavior based on whether it runs in ES5 or ES6 mode.

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

              Created:
              Updated: