Memory Management & Garbage Collection

Which memory management practice does this code demonstrate?
let globalCache = {};

function loadData(id) {
  if (!globalCache[id]) {
    globalCache[id] = fetchDataFromServer(id);
  }
  return globalCache[id];
}

// In another part of the code
function clearCache() {
  globalCache = {};
}
Next Question (30/40)