implements a method that dynamically Filter outputs the value of the specified key in the object arr and returns a new object;
/ / Raw data
let arr= {
a:"",
b:"",
c:"",
}
/ / execute the method fun (["a", "b"]) to get the object after Filter
let arr= {
a:"",
b:""
}