Closed asnow003 closed 5 years ago
Checking online I think it should be:
if( typeof variable === 'undefined' || variable === null ){ // Do stuff }
never mind...its should catch undefined and null but not false so the code there should be ok according to stack overflow.
https://stackoverflow.com/questions/2647867/how-to-determine-if-variable-is-undefined-or-null
I'm submitting a...
Browser:
Library Name
Library version
Library version: Latest
Current behavior
In the "handleWindowCallback" where its checking if the hash is null...what if there is a case in which the hash is "undefined". Since undefined is not equal to null would that be an issue? Is this something that could happen?