Setting the values array?

Hello. Faced with the problem that cannot set the value in an array. To be honest, I don't even know how it's better to fly, came from php. Alleged code:
//name is the value in which is written the name of the user. this.cfg - public variable, which is the configuration. set - subfunction of the Config class that sets the value. Don't know what it is, okay.
this.cfg.set(name, [1, 1,1]);
//tell me how to implement something like that.
April 4th 20 at 00:28
1 answer
April 4th 20 at 00:30
5e0c9b149dee5961489529.jpeg
Where such to buy? :D. - electa_Sta commented on April 4th 20 at 00:33
@electa_Sta, https://www.ozon.ru/context/detail/id/142431463/ - Jeramie10 commented on April 4th 20 at 00:36
@Jeramie10respect. - electa_Sta commented on April 4th 20 at 00:39

Find more questions by tags JavaArrays