I have a method which\'s main purpose is to set a property on a DOM object
function (el) { el.expando = {}; }
I use AirBnB\'s code style
If you want to change any value inside an object array, you can use
array.forEach(a => ({ ...a, expando: {} }))