This code works fine in browser hosted JavaScript environment :
function foo(a=true)
{
console.log(a)
}
But doing the same in qml is giving syntax error.
What might I be doing wrong ?
This code works fine in browser hosted JavaScript environment :
function foo(a=true)
{
console.log(a)
}
But doing the same in qml is giving syntax error.
What might I be doing wrong ?
From Qt 5.12, this code will work fine. See release note.
Hope this will help people in the future.