Typescript one line solution
\nfunction isAnagram(s: string, t: string): boolean {\n    return s.split("").sort().join("") === t.split("").sort().join("");\n};\n
```\nfunction isAnagram(s: string, t: string): boolean {\n    return s.split("").sort().join("") === t.split("").sort().join("");\n};\n```
['TypeScript', 'JavaScript']