You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Initially we could communicate with the computer only using binary and assembly code but it was not a optimal way to write code because each hardware processor have different assembly code to do the same process so the software solutions can't be scaled. Thats the reason why we are having high level languages now which are comparitively easy to write as well as scalable because the comiler compiles the high level code into machine understandable code.
7
+
8
+
JS Architecture
9
+
10
+
11
+
12
+
Primities of javascript
13
+
1.Variables
14
+
2.Strings
15
+
3.Arrays
16
+
4.Numbers
17
+
5.Loops - for and while
18
+
6.Functions - Prinmitives and callbacks
19
+
API - native vs web
20
+
*/
21
+
22
+
23
+
24
+
//Question1
25
+
// sum from 1 to 100
26
+
letsum=0;
27
+
for(leti=0;i<=100;i++){
28
+
sum=sum+i;
29
+
}
30
+
console.log(sum);
31
+
32
+
//Question2
33
+
//Print fibonacci series - it is a series of number where every number is the sum of the preceeding 2 numbers
0 commit comments