1 2 3 4 5 6 7 8
import QtQml QtObject { function foo() { for (let i = 0; i < 5; ++i) console.log(i); } }