This is my object literal:
var obj = {key1: value1};
How to add
{key1: value1,value2,value3}
to obj ?
obj
The value of your object must be an array or an object in which individual values ββare stored, for example:
{key1: [value1,value2,value3]}
or
{key1: new compositeValue(value1, value2, value3)}
Source: https://habr.com/ru/post/923403/More articles:What is meant by proper closing here - closuresIf wakelock is purchased and my application crashes, what should I do? - androidDetect if external script loaded - javascriptPassing a common class as an argument - javaHow should Deep Copy work? - javaR - Time Series Filtration - rGoogle test documentation - c ++Detect if key (CTRL) is currently pressed without KeyEvent in Java - javaWinDICodePack TaskDialog not working in .NET 4.0 - .netRecover Files Deleted Using Git checkout - gitAll Articles