Strict functions dont share property map

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8
    • Affects Version/s: 8
    • Component/s: core-libs
    • None
    • b98
    • generic
    • generic

      function func() { 'use strict' ; }
      function func2() { 'use strict'; }

      print(Debug.map(func) === Debug.map(func2)); // prints false rather than true

      // If 'strict' clause is removed, we see that the functions share the map

        There are no Sub-Tasks for this issue.

            Assignee:
            Jim Laskey
            Reporter:
            Sundararajan Athijegannathan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: