const var1 = "Some Value"
const var2 = "Another value"
const var3 = "var1"
Then how can we access the variable var1
by using var3
? var3 has a value var1 and there's a variable exists with var1, so this should return "Some Value" instead of "var1"