Object { "07.03.2022": "106", "08.03.2022": "114" }
i want to get the value (e.g. 114) from the known date 08.03.2022
I've already managed to do it the other way around:
const keyx = Object.keys(response.activeDates)[Object.values(response.activeDates).indexOf('114')];
but how can i get the 114 as result from the known 08.03.2022 ?
this don´t work:
var xto = "08.03.2022";
console.log(response.activeDates.xto);
Thanks!