if (value && typeof value === 'object' && typeof value.toJSON === 'function'){ value = value.toJSON(key); }
tearsinchina
2015-03-25 20:13:20 +08:00
Who/What is Douglas Crockford? i guess previous coders 's name. I think the issue may occur if statement. maybe the condistion is false that is expected.