From dfa10ed65ecdcc7b86dfee581a8132b7a69d2b0e Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 2 Sep 2018 03:36:18 +0300 Subject: [PATCH] minor fix... Signed-off-by: Alex A. Naanou --- diff.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diff.js b/diff.js index 4cf5d62..9c2bfc3 100644 --- a/diff.js +++ b/diff.js @@ -878,7 +878,7 @@ module.Types = { // search instances... if(!type){ //type = Object - type = A.constructor + type = A != null ? A.constructor : null for(var t of types){ // leave pure objects for last... if(t === Object