I have three arrays in my script, and I want to push value into one of them, the name of an array is determined of another variable value.
For example: variable value is "3" and I want to push "hello" into wals"3" array.
var wals1 = [];
var wals2 = [];
var wals3 = [];
var res = 3;
wals + res.push("hello");
console.log(wals3);