- Loop though this array
let Numbers = [23,54,32,87,47]
and print the sum of all numbers
- Create an array of the following numbers [16,4,2,0,19,6]
- Loop through the array elements and print the maximum number of this list to the console.
- Create an array of the following numbers [1,2,3,4,5,6,7,8,9,10]
- print the array in a reverse order
- Declare a variable and assign a number to it.
- Print a right angle triangle using stars to the console. Example: if the variable is 5, the printed pattern will be as follow:
*
**
***
****
*****
- Create an array of the following numbers [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]
- Loop through this array and print the prime numbers.
Note: A number is prime if it is divided by 1 and itself only.
- Get array of objects with just name and height properties
- Get array of all first names
- Get total mass of all characters
- Get total number of characters in all the character names
- Get characters with mass greater than 100
- Get all female characters
- Sort by name
- Sort by gender
- Does every character have blue eyes?
- Is every character male?
- Is there at least one male character?
- Is there at least one character that has mass less than 50?