JSFiddle - React, Tailwind, and code Playground

by soumya gangamwar

JavaScript

[1, 2, 3, 4].filter(
    function(e) {
      return this.indexOf(e) < 0;
    }, [2, 4]).filter(function(b) {
    return this.indexOf(b)<0; }, [1])