this refers to the current context, try use a differnet function inside a template and voila this inside the function has different “meaning” so either you store it inside a variable or use Template.instance() to get the context inside the function.
Template.instance().data === Template.currentData() cause currentData() is just a short hand for Template.instance().data.