// db.js let movies = [ { id: 0, name: "Star Wars", score: 1, }, { id: 1, name: "Avengers", score: 8, }, { id: 2, name: "Logan", score: 2, }, { id: 3, name: "The Godfather I", score: 99, }, ]; export const getMovies = () => movies; export const getById = (id) => { const filteredMovies = movies.filter((movie) => movie.id === id); return filteredMovies[0]; }; export const deleteMovie = (id) => { c..