function resetTestHashMap() {
  const keys = Object.keys(testHashMap);
  keys.forEach((key) => {
    testHashMap[key]._visited = false;
  });
}
/**
 * To reset the map state.
 */
To reset the map state.
To reset the map state .
function resetTestHashMap() {
  const keys = Object.keys(testHashMap);
  keys.forEach((key) => {
    testHashMap[key]._visited = false;
  });
}
function resetTestHashMap ( ) { const keys = Object . keys ( testHashMap ) ; keys . forEach ( ( key ) => { testHashMap [ key ] . _visited = false ; } ) ; }
To reset the map state.
To reset the map state .