▪ Use forEach to console log each name to the console. You are allowed to call console.log seven times. -done
▪ Use forEach to console log each name with a matching province (for example Ashwin Western Cape). Note that you are only allowed to call console.log seven times. -done
▪ Using map loop over all province names and turn the string to all uppercase. Log the new array to the console.-done
▪ Create a new array with map that has the amount of characters in each name. The result should be: [6, 9, 11, 5, 8, 7, 7]
▪ Using toSorted to sort all provinces alphabetically.
▪ Use filter to remove all provinces that have the word Cape in them. After filtering the array, return the amount of provinces left. The final value should be 3
▪ Create a boolean array by using map and some to determine whether a name contains an S character. The result should be [true, true, false, true, false, true, false]