Is it possible to access an object with a string on javascript? [duplicate]

I have a string. I also have an object in which one of its properties is the word in that string, and I need to get the value of that property.

I tried accessing it directly with the variable in which the string is contained, but obviously it didn’t work, so I tried many parsing methods. None of them worked. Is there any possible way to do this?

Here’s my code:

var object = {cars : ["fiat","renault"], bikes : ["vespa","kawasaki"]};

let string = "cars";
let parsedString = JSON.parse(string);
//I need to get to the value "fiat", so I tried this:
console.log(object.parsedString[0]);

Sorry if this was weirdly explained, english is not my first language.