Skip to content

Commit f9e97d4

Browse files
authored
Update README.md
1 parent 9ac54a2 commit f9e97d4

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,17 +134,30 @@ Node.js runs in a single process and the application code runs in a single threa
134134

135135
## Q. ***What are the data types in Node.js?***
136136

137+
Just like JS, there are two categories of data types in Node: Primitives and Objects.
138+
137139
*Primitive Types*
138140

139141
* String
140142
* Number
143+
* Bigint
141144
* Boolean
142145
* Undefined
143146
* Null
144-
* RegExp
147+
* Symbol
145148

146149
* `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.
147150

151+
*Objects*
152+
153+
* Function
154+
155+
* Array
156+
157+
* other regular objects
158+
159+
160+
148161
<div align="right">
149162
<b><a href="#">↥ back to top</a></b>
150163
</div>

0 commit comments

Comments
 (0)