claro dict javascript

const clearDict = dict => {
    Object.keys(dict).map(key => delete dict[key]);
  };
Hacker Harsha