(value1, value2)
| 11141 | else return compareNativeSubtypes(value1, value2); |
| 11142 | } |
| 11143 | function compareNativeSubtypes(value1, value2) { |
| 11144 | // e.g. Function, RegExp, Date |
| 11145 | return value1.toString() === value2.toString(); |
| 11146 | } |
| 11147 | function compareArrays(value1, value2) { |
| 11148 | var len = value1.length; |
| 11149 | if (len != value2.length) return false; |