[Solved] How give key object through condition ‘if’? October 26, 2022 by Kirat let chanIds[someObject.chanId] = someObject.symbol 1 solved How give key object through condition ‘if’?