- 
    Bug 
- 
    Resolution: Invalid
- 
    P2: Important 
- 
    5.15.2
    QJSEngine engine;
    QJSValue result = engine.evaluate(QStringLiteral("Array.prototype.map.call(undefined, function (a) {return a; } );"));
    qDebug() << result.toString(); 
Results in
"TypeError: Value is undefined and could not be converted to an object"
I believe that this is not correct. The expected behavior is that an undefined this parameter is converted to the global object unless strict mode is enabled.
- relates to
- 
                    QBS-913 QtScript dependency needs to be removed -         
- Closed
 
-