var obj = {'array': [1, 2, 3, 4, 5], 'abracadabra' : [200,700]}; var print = 'array'; var newArray = obj[print]; alert(newArray);