yourDict = {"a": 323, "b": 42}; yourDict = {}
const clearDict = dict => { Object.keys(dict).map(key => delete dict[key]); };