0👍
✅
Just because of the arrow function,try this one:
.then(function (data) {
return this.testing = data; // JSON data parsed by `response.json()` call
})
Source:stackexchange.com