I have an array of object as seen below:
const arr = [
{
content: 'string',
read: true
},
{
content: 'string',
read: false
},
{
content: 'string',
read: false
},
]
How would I edit the array and make all the read
properties set to true?