const filtered = myArray.filter(element => element);
      Javascript language logo

      Filter array

      My JavaScript recipes

      Filter elements in an array

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.