so i was trying to make custom variables generator but i couldn't figure out the way to create custom variavle with name from string it keeps sending error: Uncaught SyntaxError: Unexpected token '['
can someone help my code look like this:
var tempi = "csv"
var window[tempi]={0:"r"};
and i expect it to do
var csv ={0:"r"}
and create with this multiple variables with diffrent names