Sorry to be blunt, but this is a fairly useless example. If you're going to have to pass in a function to filter the keys you want, you might as well just write a simple mapping for the object you want instead.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Sorry to be blunt, but this is a fairly useless example. If you're going to have to pass in a function to filter the keys you want, you might as well just write a simple mapping for the object you want instead.