From 976f1f2f53add4eaaa64f18cd4b0c7eb9bff65f5 Mon Sep 17 00:00:00 2001 From: TripleYei <58819156+TripleYei@users.noreply.github.com> Date: Wed, 11 Oct 2023 18:07:33 +0200 Subject: [PATCH] Update 2023-1-13-retos-programacion.markdown --- _posts/2023-1-13-retos-programacion.markdown | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/_posts/2023-1-13-retos-programacion.markdown b/_posts/2023-1-13-retos-programacion.markdown index 5314285..b21c3ee 100644 --- a/_posts/2023-1-13-retos-programacion.markdown +++ b/_posts/2023-1-13-retos-programacion.markdown @@ -678,3 +678,21 @@ function returnTwo(list) { } ~~~~ +Remove the Vowels + +~~~~ +function remove(str) { + return str.replace(/[aeiou]/ig, "") +} +~~~~ + +Remove the Dups + +~~~~ +function removeDups(list) { + for(let i=0;i