Well I think I found something that works:
if (e1.valueOf() === e2.valueOf()) {
console.log("equal")
}
But I’m a bit surprised that this isn’t mentioned anywhere in the documentation.
Well I think I found something that works:
if (e1.valueOf() === e2.valueOf()) {
console.log("equal")
}
But I’m a bit surprised that this isn’t mentioned anywhere in the documentation.