diff --git a/fx.js b/fx.js index 974a6c6..1ea78fd 100644 --- a/fx.js +++ b/fx.js @@ -89,6 +89,10 @@ module.exports = function start(input) { }) function walk(v, cb, path = '') { + if (!v) { + return + } + if (Array.isArray(v)) { cb(path) let i = 0