如何使用JS筛选JSON数据<script>var products=[{id:"1001",name:"a"},{id:"1002",name:"hava1001"2023-02-21JavaScript140