October 2018
— Anyone has the best algorithm in hat to OR two arrays?
a = []for b in list1 when not list2.includes b a[*] = bfor b in list2 when not list1.includes b a[*] = b
— Symmetric difference?
—
a = set(list1).symmetric_difference(set(list2))
— Actually.. You're naming parameters, so it's not Thomasy enough
— R.symmetricDifference(l, r)
R.symmetricDifference(l, r)
— Go check
— Https://ramdajs.com/docs/#symmetricDifference
— How?
— Https://medium.com/aswinmohanme/how-vim-killed-atom-and-vscode-723a68ad59dc
— Very self documenting
— You know wat. we need a few JS girls here. two will be enough i think.. so go search some. it will be a task for reeeeeal JS gang
Message permanent page