(a, b, depth)
| 221 | }); |
| 222 | |
| 223 | function similarAVal(a, b, depth) { |
| 224 | var typeA = a.getType(false), typeB = b.getType(false); |
| 225 | if (!typeA || !typeB) return true; |
| 226 | return similarType(typeA, typeB, depth); |
| 227 | } |
| 228 | |
| 229 | function similarType(a, b, depth) { |
| 230 | if (!a || depth >= 5) return b; |
no test coverage detected