i wan to convert method to a function and if statement and return the answer to a global variable

后端 未结 0 1090
旧时难觅i
旧时难觅i 2021-02-09 07:32
const filterMovies = !filter ? movies : movies.filter((movie) => movie.info.title.includes(filter));

    filterMovies.forEach((movie) => {
        const movieEl =         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题