daily pastebin goal
82%
SHARE
TWEET

Untitled

a guest May 16th, 2018 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const isSubset = (a,b) =>{
  2.   let subset = true;
  3.   b.map((ele)=>{if(!(a.includes(ele)){subset = false}})
  4.   return subset;
  5. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top