Skip to content

Commit 9c774e5

Browse files
authored
Create Looping-Array.js
1 parent 4a63b33 commit 9c774e5

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

Looping-Array.js

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
const jonas = [
2+
3+
'Jonas' ,
4+
'Rejwar',
5+
'2037-2019',
6+
'teacher',
7+
['Michael','Peter','Steven']
8+
];
9+
10+
//for ( let i = jonas.length-1; i >= 0; i-- ){
11+
// console.log(i,jonas[i])
12+
//}
13+
14+
for(let exercise =1; exercise <4; exercise++ );
15+
console.log('--------- string exercise ${exercise}');
16+
17+
for (let rep =1 ; rep <6; rep++)
18+
{
19+
console.log(`Lifting rop ${rep}`);
20+
}

0 commit comments

Comments
 (0)