sorry if this post is bad as I'm new to coding and stackoverflow, apologies in advance :D
var list = ["test1", "test2", "test3"];
var listName = "list";
Can I somehow access the list via the variable to do something like -
console.log(listName[2]);
Thanks in advance!