Code:
var obj = {val1: 'Test',val2: 'Test','array[]': [ '1', '1', '1', '1', '1', '1', '1', '1', '1', '1' ] };
console.log(obj.array);
Issue: the above console.log returns undefined. For many, it might be obvious, but I'm a newb and trying to figure out how to log the array[] (it works if the property is simply defined as {'array': ["1", "1", "1", "1", "1", "1", "1", "1", "1", "1"]}).
Expected output: ["1", "1", "1", "1", "1", "1", "1", "1", "1", "1"]