- Ozh RICHARD
- @ozh
- @ozh
- ozh.richard
- Nantes, FR
- ozh.org
- planetozh.com
Tweet #263981166040854528
OMGWTF.js of the day: to check if two arrays have the same elements: $(arr1).not(arr2).length == 0 && $(arr2).not(arr1).length == 0
OMGWTF.js of the day: to check if two arrays have the same elements: $(arr1).not(arr2).length == 0 && $(arr2).not(arr1).length == 0