JavaScript solution
function isAnagram(s, t) {\n    \tconst map = {};\n    \ts.split('').map(c => map[c] = map[c] ? map[c] + 1 : 1);\n    \tt.split('').map(c => map[c] = map[c] ? m
    function isAnagram(s, t) {\n    \tconst map = {};\n    \ts.split('').map(c => map[c] = map[c] ? map[c] + 1 : 1);\n    \tt.split('').map(c => map[c] = map[c] ? map[c] - 1 : -1);\n    \treturn Object.keys(map).every(k => map[k] === 0);\n    }
['JavaScript']