(root, result = [])
| 6 | * @return {string} |
| 7 | */ |
| 8 | var serialize = function (root, result = []) { |
| 9 | serial(root, result); |
| 10 | |
| 11 | return result; |
| 12 | }; |
| 13 | |
| 14 | const serial = (root, result) => { |
| 15 | const isBase = root === null; |
nothing calls this directly
no test coverage detected