there's actually a little mistake in the end of the code :
goodResponse.push(evilResponseProps[prop]); must be modified to
but this code helped me a lot, thanks a lot didn't know what to do without it ;)
Glad to help. Thanks for the feedback.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.