You can use only numbers as array subscripts, strings and arrays are not accepted:
table[ 1 ] = 10; // correct table[ "text" ] = 10; // incorrect table[ Close ] = 10; // incorrect