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

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 8u60
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
      None

      Description

      (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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: