We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b46ac9c commit 0a67756Copy full SHA for 0a67756
data-types.js
@@ -0,0 +1,10 @@
1
+let num1 = 15;
2
+console.log("The type of num1 is " + typeof num1);
3
+let num2 = 15.5;
4
+console.log("The type of num2 is " + typeof num2);
5
+let str = "Pranav";
6
+console.log("The type of str is " + typeof str);
7
+let arr = [1, 2, 3, 4, 5, "None"];
8
+console.log("The type of arr is " + typeof arr);
9
+let obj = { name: "Pranav", age: 19, role: "Student" };
10
+console.log("The type of obj is " + typeof obj);
0 commit comments