Revision control
Copy as Markdown
Item {
arrow1: x => x
arrow2: x => x + x
arrow3: x => x > 3 ? x * x : x
arrow4: x => {
return x > 3 ? x * x : x;
}
arrow5: () => {
return x > 3 ? x * x : x;
}
Component.onCompleted: () => {
console.log("asdf");
}
}