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