Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8011086 Specification fails (outside test262)
  3. JDK-8011365

Array.prototype.join and Array.prototype.toString do not throw TypeError on null, undefined

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • P4
    • 8
    • None
    • core-libs
    • None
    • b86
    • generic
    • generic
    • Verified

    Description


      Array.prototype.join.call(null,{toString:function(){throw 2}})
      => toString() executed instead of TypeError thrown due to null-this

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: