re: Which is faster: obj.hasOwnProperty(prop) vs Object.keys(obj).includes(prop) VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION

Try a bigger object, say with 20000 keys.

code of conduct - report abuse