DEV Community

loading...

Discussion on: Can you hack this? #1

Collapse
kinzmak profile image
Kins • Edited
const personX = { get name() { return Math.random() } };
console.log(nameEqualsToItself(personX)); //This will return false as well 
Enter fullscreen mode Exit fullscreen mode
Collapse
shane profile image
shane • Edited

This is big brain, love it