From c01983718b62f5d315cc789041bfe62e1d34ca00 Mon Sep 17 00:00:00 2001 From: George Mihov <53583283+gmihov001@users.noreply.github.com> Date: Fri, 3 Sep 2021 10:35:09 -0400 Subject: [PATCH] Added missing person, removed prewritten function The students should practice writing their own arrow functions. --- exercises/12-Delete-element/app.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/exercises/12-Delete-element/app.js b/exercises/12-Delete-element/app.js index 12746301..b048e71c 100644 --- a/exercises/12-Delete-element/app.js +++ b/exercises/12-Delete-element/app.js @@ -1,10 +1,7 @@ -var people = ['juan','ana','michelle','daniella','stefany','lucy','barak']; +var people = ['juan','ana','michelle','daniella','stefany','lucy','barak', 'emilio']; -function deletePerson(personName) -{ - //your code here -} +//your code below console.log(deletePerson('daniella')); console.log(deletePerson('juan')); -console.log(deletePerson('emilio')); \ No newline at end of file +console.log(deletePerson('emilio'));