(v1, v2)
| 14645 | : comp; |
| 14646 | } |
| 14647 | function compare(v1, v2){ |
| 14648 | var t1 = typeof v1; |
| 14649 | var t2 = typeof v2; |
| 14650 | if (t1 == t2) { |
| 14651 | if (t1 == "string") { |
| 14652 | v1 = v1.toLowerCase(); |
| 14653 | v2 = v2.toLowerCase(); |
| 14654 | } |
| 14655 | if (v1 === v2) return 0; |
| 14656 | return v1 < v2 ? -1 : 1; |
| 14657 | } else { |
| 14658 | return t1 < t2 ? -1 : 1; |
| 14659 | } |
| 14660 | } |
| 14661 | }; |
| 14662 | } |
| 14663 |
no outgoing calls
no test coverage detected
searching dependent graphs…