diff --git a/05_Day_Arrays/05_day_starter/scripts/main.js b/05_Day_Arrays/05_day_starter/scripts/main.js index 094720c..ee14bd8 100644 --- a/05_Day_Arrays/05_day_starter/scripts/main.js +++ b/05_Day_Arrays/05_day_starter/scripts/main.js @@ -56,7 +56,8 @@ const webTechs = [ 22. Remove the last IT company from the array 23. Remove all IT companies */ -let myArr = Array(); //Empty array + //Empty array const animals = ['lion','dog','cat','pig','monkey']; -const myArrayLength = animals.length(); -console.log(myArrayLength) \ No newline at end of file +console.log(`This is my array: ${animals}`) +const myArrayLength = animals.length; +console.log(`This array length is: ${myArrayLength}`);