Use Object.is() where available.