How to use the code editor?

import QtQuick 2.6

item {
}
expected type name

how to use the code editor?
как пользоваться редактором кода?

I understood Item with a capital letter
I am trying to print a message to the console, but the program says I should in console.log (“1234”); put:

я понял Item с большой буквы
я пытаюсь вывести сообщение в консоле, но программа говорит, что я должен в console.log(“1234”); поставить :

import QtQuick 2.6

Item {
   Component.onCompleted: console.log("your message")
}

Back to Flipabit >
Copyright © 2018. Flipabit Team. All rights reserved.