Yes, I know that already, and actually I wonder why i can't make class like this
compiler says: expected 'IDENTIFIER'
Code:
class Foo
{
constructor()
{
table = {};
table[1] = "Hello";
table[2] = "XASDASDADSa";
table[3] = 22;
}
for(local i = 1; i < 3; i++)
table[i] = null;
};
compiler says: expected 'IDENTIFIER'