One thing I notice for the sake of readability is that I tend to create new variables for data that I already have on hand. I'm curious, does this impact performance significantly?
Here's an example of what I mean:
const isAdult = this.data.person.age >= 18;
const hasChildren = this.data.person.hasChildren;
if (isAdult && hasChildren) {}
As opposed to doing this:
if(this.data.person.age >= 18 && this.data.person.hasChildren) {}