Dynamic Variable Name and Set to New Array

Dynamic Variable Name and Set to New Array

Hi all,

I need to create a variable name that is dynamic and then have it create a new array.

Example:

var basevariablename + dynamicIDfromJSONOutput = [];


Any ideas?