pull/609/head
loic242 3 years ago
parent 434b18dfa9
commit 3891df6485

@ -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)
console.log(`This is my array: ${animals}`)
const myArrayLength = animals.length;
console.log(`This array length is: ${myArrayLength}`);

Loading…
Cancel
Save