Problems in the use of seamless-immutable

now there is such a piece of data

let a = [{list:[1,2,3]},{list:[4,5,6]}];
let aIm = immutable(a);

I want to add 1 to every item in the list array. How should I write it?

Mar.09,2021

a.map(x => {
    return x.list.map(y => y+1)
})

you can do this, using two layers of reduce:

   

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35f9e-4d675.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35f9e-4d675.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?