Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-10236

JavaScript: problem with Function objects, unknown names (objects, functions)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 4.7.0
    • 4.7.1
    • None
    • Ubuntu 9.10 32Bit AND Ubuntu 9.10 64Bit
      git f6f9777408691a945c49ef8ec5037d8401c747eb

      the use of:
      Function("print('a')")()

      leads to:
      <Unknown File>:1: TypeError: Result of expression 'print' [undefined] is not a function.

        1. test.qml
          0.2 kB
          mixd tv
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            aakenned Aaron Kennedy
            mixdtv mixd tv
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes