[Solved] How give key object through condition ‘if’?


let chanIds[someObject.chanId] = someObject.symbol

1

solved How give key object through condition ‘if’?