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
// to treat all the old javascript codes essence according to the newer version use "strict"
2
+
"use strict";
3
+
4
+
// alert(3+3) does not print 6 as this is nodejs. in brower's console if we write alert(6+6) it create brower's window object by executing alert function call in brower's js environment V8. then the dialog box is created and shows 12 and on pressing "ok" it closes.
5
+
6
+
console.log(6+6)//in node js it happens in this way
7
+
8
+
// Different datatypes :
9
+
// number => range is upto 2^53
10
+
// bigint => range more than number. generally used in big data or stock market.
11
+
// boolean
12
+
// string => represented in ""
13
+
// null => an object to represnet empty values
14
+
// undefined => represents no value in uninitialized variable
0 commit comments