ShareCopy to ClipboardRawPreviewconst filtered = myArray.filter(element => element);Filter array02Julien DelangeMy JavaScript recipesFilter elements in an array0 CommentsAdd CommentLog in to add a comment