const newArray = originalArray.filter((number) => number % 2 !== 0);
      Javascript language logo

      Filter odd numbers

      My JavaScript recipes

      Filter odd numbers from an array

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.