I hereby claim:
- I am pmsorhaindo on github.
- I am pmsorhaindo (https://keybase.io/pmsorhaindo) on keybase.
- I have a public key ASAM_wLHuwj50Uq9i61mQQrhzlp7zxFNspqoK28Kb7hY5Qo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
console.clear(); | |
function findPath(node, predicate) { | |
var depth = 0; | |
var path = []; | |
var found = false; | |
function find(currentNode, i) { | |
if (found) { | |
return path; | |
} |