4 property bool test1: false;
5 property bool test2: false;
6 property bool test3: false;
8 Component.onCompleted: {
11 var func1 = new Function("a", "return a + 7");
12 var func2 = new Function("a", "return Qt.atob(a)");
13 var func3 = new Function("return a");
15 test1 = (func1(4) == 11);
16 test2 = (func2("Hello World!") == Qt.atob("Hello World!"));