(s, o, i, a)
| 1758 | return o ? fromJSWith(o, s, '', { '': s }) : fromJSDefault(s) |
| 1759 | } |
| 1760 | function fromJSWith(s, o, i, a) { |
| 1761 | return Array.isArray(o) |
| 1762 | ? s.call( |
| 1763 | a, |
| 1764 | i, |
| 1765 | IndexedSeq(o).map(function (i, a) { |
| 1766 | return fromJSWith(s, i, a, o) |
| 1767 | }) |
| 1768 | ) |
| 1769 | : isPlainObj(o) |
| 1770 | ? s.call( |
| 1771 | a, |
| 1772 | i, |
| 1773 | KeyedSeq(o).map(function (i, a) { |
| 1774 | return fromJSWith(s, i, a, o) |
| 1775 | }) |
| 1776 | ) |
| 1777 | : o |
| 1778 | } |
| 1779 | function fromJSDefault(s) { |
| 1780 | return Array.isArray(s) |
| 1781 | ? IndexedSeq(s).map(fromJSDefault).toList() |
no test coverage detected