Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
const events = events.filter(ev => ev.title !== 'TEST ZDJEC');
这将删除第三个,因为在过滤器中,您指定您只想保留标题与“ test ZDJEC”不同的元素;
This will remove 3rd one, since in filter you are specifying that you want to keep only elements with title different than 'TEST ZDJEC';
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
暂无简介
文章 0 评论 0
接受
发布评论
评论(1)
这将删除第三个,因为在过滤器中,您指定您只想保留标题与“ test ZDJEC”不同的元素;
This will remove 3rd one, since in filter you are specifying that you want to keep only elements with title different than 'TEST ZDJEC';