Easy way of solving with HashTables
\nvar uncommonFromSentences = function(s1, s2) {\n    let a = [...s1.split(\' \'), ...s2.split(\' \')]\n    const obj = {};\n    \n    for(let i of a) {\n      
``` \nvar uncommonFromSentences = function(s1, s2) {\n    let a = [...s1.split(\' \'), ...s2.split(\' \')]\n    const obj = {};\n    \n    for(let i of a) {\n        if(i in obj) {\n            obj[i] += 1\n        } else {\n            obj[i] = 1\n        } \n    }\n    \n    a = [];\n    \n    for(let i in obj) {\n        if(obj[i] == 1) {\n            a.push(i)\n        }\n    }\n    \n    return a;\n};\n```
['JavaScript']