![angular - TypeError: Cannot add property 1, object is not extensible↵ at Array.push (<anonymous>) - Stack Overflow angular - TypeError: Cannot add property 1, object is not extensible↵ at Array.push (<anonymous>) - Stack Overflow](https://i.stack.imgur.com/hzQz5.png)
angular - TypeError: Cannot add property 1, object is not extensible↵ at Array.push (<anonymous>) - Stack Overflow
![Shripal Soni on X: "Javascript Tip 💡 You may not know about this shortest way to add a property to an object conditionally 🤩 https://t.co/yBHIr99q37" / X Shripal Soni on X: "Javascript Tip 💡 You may not know about this shortest way to add a property to an object conditionally 🤩 https://t.co/yBHIr99q37" / X](https://pbs.twimg.com/media/FunxdeVaQAAK5F4.jpg)
Shripal Soni on X: "Javascript Tip 💡 You may not know about this shortest way to add a property to an object conditionally 🤩 https://t.co/yBHIr99q37" / X
![How To Add, Modify and Delete JavaScript Object Literal Properties | by Sanchitha Sharma Ranganathaiah | JavaScript in Plain English How To Add, Modify and Delete JavaScript Object Literal Properties | by Sanchitha Sharma Ranganathaiah | JavaScript in Plain English](https://miro.medium.com/v2/resize:fit:797/1*ijayztjI9d6B2knyaSQ73Q.png)