[Javascript] Whatever another array has, just DELETE them!
Let\'s create a set ofnums1, then DELETE all values innums2.\n\n> Note: No need to check ifnums1has it, just delete them all away!\n\n\nlet ans1=new Set(nums1)\
Let\'s create a set of`nums1`, then **DELETE all values in**`nums2`.\n\n> Note: No need to check if`nums1`has it, just delete them all away!\n\n```\nlet ans1=new Set(nums1)\nnums2.forEach(v=>{ans1.delete(v)});\nlet ans2=new Set(nums2);\nnums1.forEach(v=>{ans2.delete(v)});    \n\nreturn [[...ans1],[...ans2]];\n```\n\nThanks for your reading and **up-voting** :)\n\n**\u2B50 Check [HERE](https://github.com/Lynn19950915/LeetCode_King) for my full Leetcode Notes ~**\n
['Ordered Set', 'JavaScript']