A way to determine if two bound functions reference the same target function.
For example:
function proto () {}
const a = proto.bind(null, 1)
const b = proto.bind(null, 2)
console.assert(Function.isSameTarget(a, b))
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

