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
Copy file name to clipboardExpand all lines: README.md
+17-3Lines changed: 17 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -134,16 +134,30 @@ Node.js runs in a single process and the application code runs in a single threa
134
134
135
135
## Q. ***What are the data types in Node.js?***
136
136
137
-
*Primitive Types*
137
+
Just like JS, there are two categories of data types in Node: Primitives and Objects.
138
+
139
+
*Primitives*
138
140
139
141
* String
140
142
* Number
143
+
* Bigint
141
144
* Boolean
142
145
* Undefined
143
146
* Null
144
-
* RegExp
147
+
* Symbol
148
+
149
+
*Objects*
150
+
151
+
* Function
152
+
153
+
* Array
154
+
155
+
*`Buffer`: Node.js includes an additional data type called Buffer (not available in browser\'s JavaScript). Buffer is mainly used to store binary data, while reading from a file or receiving packets over the network. `Buffer` is a class.
156
+
157
+
158
+
* other regular objects
159
+
145
160
146
-
*`Buffer`: Node.js includes an additional data type called Buffer (not available in browser\'s JavaScript). Buffer is mainly used to store binary data, while reading from a file or receiving packets over the network.
0 commit comments