if I have an object:
let Cars = {Banna:'Yellow'},{Apple:'Red'}
Can I have a viable be a key that changes based on user input?
function button(userinput){
let key = userinput
}
let fruit = Cars.key
The Object I have in my code is much longer than this example.