I’m a newbie to Meteor, After I finish reading the tutorial, I have one question related to this step , this page says task has a property named checked,
if the checked property of a task is true, the checked class is added to our list item.
But to my understanding, a task has two properties: text and createdAt.
Where is the property checked defined? Thanks in advance.
When the browser loads the TODO web page the first time, the Tasks.update() doesn’t get called yet, all task have no property named checked, while simple-todos.html tries to get the value of checked, it won’t get a NullPointerException like in Java, instead, I guess, it will get a default value if checked doesn’t exist, right?