~
notes
anki
js
20210416093034
function
setDifference
(
set1, set2
) {
return
new
Set
(
Array
.
from
(set1).
filter
(
(
n
) =>
!set2.
has
(n))); }