Guest User

Untitled

a guest
May 16th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. const isSubset = (a,b) =>{
  2. let subset = true;
  3. b.map((ele)=>{if(!(a.includes(ele)){subset = false}})
  4. return subset;
  5. }
Add Comment
Please, Sign In to add comment