forked from qt-creator/qt-creator
Migrated from QtChecker. Change-Id: I4b3e8993c7b9f697497d2199b24bf49379dbc1b4 Reviewed-on: http://codereview.qt-project.org/5860 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
10 lines
176 B
QML
10 lines
176 B
QML
import QtQuick 1.0
|
|
|
|
Item {
|
|
function foo() {
|
|
eval("a + b") // 23 9 12
|
|
var a = { eval: function (string) { return string; } }
|
|
a.eval("a + b")
|
|
}
|
|
}
|