Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8024970 André Bargull's list on Sep 17, 2013
  3. JDK-8080265

(function f(){return f; var f})() should evaluate to undefined value

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 8u60
    • core-libs
    • None

      (function f(){return f; var f})() should evaluate to undefined value. While this works as expected with jdk9-dev/nashorn, the same fails with jdk8u60 ea as well as jdk8u-dev/nashorn repo. It evaluates to function "f" instead.

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

              Created:
              Updated:
              Resolved: