I need to create a function which create a new object with all properties of in set to true, the function should create a new object.
How to do it with vanilla js? I can use deconstruction and latest JS.
const in = { ida:true, idb:false, idc:false, ide:true } result wanted
const out = { ida:true, idb:true, idc:true, ide:true }