From 5a797ddb7f94f775f558f93907fe011c09b1d356 Mon Sep 17 00:00:00 2001 From: DEVESH VERMA <71995793+webdeveshverma@users.noreply.github.com> Date: Tue, 31 May 2022 03:10:58 +0530 Subject: [PATCH] Update breadthFirstSearch.js --- src/algorithms/graph/breadth-first-search/breadthFirstSearch.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/algorithms/graph/breadth-first-search/breadthFirstSearch.js b/src/algorithms/graph/breadth-first-search/breadthFirstSearch.js index d4b955ec..29d515df 100644 --- a/src/algorithms/graph/breadth-first-search/breadthFirstSearch.js +++ b/src/algorithms/graph/breadth-first-search/breadthFirstSearch.js @@ -32,6 +32,7 @@ function initCallbacks(callbacks = {}) { return false; }; } + )(); initiatedCallback.allowTraversal = callbacks.allowTraversal || allowTraversalCallback;