Update breadthFirstSearch.js

This commit is contained in:
DEVESH VERMA 2022-05-31 03:10:58 +05:30 committed by GitHub
parent cb7afe18ef
commit 5a797ddb7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,6 +32,7 @@ function initCallbacks(callbacks = {}) {
return false;
};
}
)();
initiatedCallback.allowTraversal = callbacks.allowTraversal || allowTraversalCallback;