Can a var BE a var
RainBowLion1 (6)

ok i want to have a code change what its changing depending on a number so i have 10 vars named line1 - line_10 right now i have it so it says: number = "line" + line_number but it does not work is this posible beacuse i dont have to have 10 ifs asking if line_number = 1 - 10?

You are viewing a single comment. View All
ch1ck3n (2389)
x = "yes"
y = x
console.log(y)

yes

so yes it can