NativeArguments has wrong implementation of isMapped()

XMLWordPrintable

    • b105
    • generic
    • generic
    • Verified

      The concept of mapped parameter in NativeArguments is wrong. If a function has a formal parameter but is called without passing a value for it, the parameter is considered to be not mapped according to ES 10.6.

      The following should return undefined instead of 1:

      (function(a) { arguments[0] = 1; return a; })()

            Assignee:
            Hannes Wallnoefer
            Reporter:
            Hannes Wallnoefer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: