RxJS version:
5.5.2
Code to reproduce:
Apply it to a stream that produces null/undefined values.
Expected behavior:
If both values are undefined or null both can be considered the same. We should just perform the key inspection if both values are defined.
Actual behavior:
It will throw an exception about trying to access a property on undefined. This essentially makes the operator useless if there can be null/undefined values on the stream.
Additional information:
Let me know if you need to discuss the issue further.
RxJS version:
5.5.2
Code to reproduce:
Apply it to a stream that produces null/undefined values.
Expected behavior:
If both values are undefined or null both can be considered the same. We should just perform the key inspection if both values are defined.
Actual behavior:
It will throw an exception about trying to access a property on undefined. This essentially makes the operator useless if there can be null/undefined values on the stream.
Additional information:
Let me know if you need to discuss the issue further.