fix issue #78, don't try to use 'in' operator on null
@ -1010,7 +1010,7 @@ function IsArray(v) {
}
function IsStream(v) {
return typeof v == "object" && "getChar" in v;
return typeof v == "object" && v != null && ("getChar" in v);
function IsRef(v) {
The note is not visible to the blocked user.