There was an error while loading. Please reload this page.
1 parent 9aa4db6 commit 8451fdeCopy full SHA for 8451fde
README.md
@@ -15,4 +15,5 @@
15
<li>Using conditions</li>
16
<li>Coding else statements</li>
17
<li>Incorporating else if</li>
18
+<li>Loops</li>
19
</ul>
study/Loops/Self-assigning Variables.js
@@ -0,0 +1,22 @@
1
+const wallet = 3;
2
+console.log(wallet);
3
+
4
+let wallet1 = 3;
5
+wallet1 = wallet1;
6
+console.log(wallet1);
7
8
+let wallet2 = 3;
9
+wallet2 =
10
+wallet2 + 1;
11
+console.log(wallet2);
12
13
+let wallet3 = 3;
14
+wallet3 = wallet3 + 2;
+wallet3 = wallet3 - 1;
+console.log(wallet3);
+let nameInfo = "Account name:";
+nameInfo = nameInfo + " Elton";
20
+nameInfo = nameInfo + " John";
21
+console.log(nameInfo);
22
0 commit comments