I have a variable
let importantData = data[selectedItem].attributes[0];
I need to link it to various information within a JSON dataset in order to retrieve the value
when I execute the following code, everything works smoothly
let electricityPlant = uniqueData.Total;
console.log(electricityPlant)
However, there are some values that contain spaces like
Main source of electricity and heat production: "1.4"
How can I connect it to importantData?
importantData.Main source of electricity and heat production
results in errors being thrown