this not working in fat arrow jscalcAge: function(){this.age = 2020 - this.birthyear; return this.age; } code example
Example: how to make javascript function consise
multiplyfunc = (a, b) => { return a * b; }
multiplyfunc = (a, b) => { return a * b; }