i
Size: a a a
i
i
А
R
A
JS
0
0
JS
0
JS
0
k
[
{bookID: 123, currentPage: 0},
{bookID: 4657, currentPage: 10},
].push({bookID: 123, currentPage: 24}) =>
[
{bookID: 123, currentPage: 24},
{bookID: 4657, currentPage: 10},
]
F
F
JS
JS
k
[
{bookID: 123, currentPage: 0},
{bookID: 4657, currentPage: 10},
].push({bookID: 123, currentPage: 24}) =>
[
{bookID: 123, currentPage: 24},
{bookID: 4657, currentPage: 10},
]
const books = {
...state.books,
[state.bookId]: state.currentPage,
};
e