From f9938d5e0cb7abc5e277d40feb9e650baa3aff0d Mon Sep 17 00:00:00 2001
From: Yanis B <48627594+Yanis-Bouchelaghem@users.noreply.github.com>
Date: Wed, 4 Jan 2023 15:44:11 +0100
Subject: [PATCH] Fix typo in the javascript content (#3103)
"There are eight basic data types in JavaScript" is ambiguous (are objects considered "basic" ?).
Javascript features seven (7) primitive datatypes and all objects are non-primitives.
Source (MDN) : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures
---
.../106-javascript/content/102-javascript-datatypes/readme.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/content/roadmaps/106-javascript/content/102-javascript-datatypes/readme.md b/content/roadmaps/106-javascript/content/102-javascript-datatypes/readme.md
index df47ec9d2..660e0960a 100644
--- a/content/roadmaps/106-javascript/content/102-javascript-datatypes/readme.md
+++ b/content/roadmaps/106-javascript/content/102-javascript-datatypes/readme.md
@@ -1,6 +1,6 @@
# Datatypes
-Data type refers to the type of data that a JavaScript variable can hold. There are eight basic data types in JavaScript.
+Data type refers to the type of data that a JavaScript variable can hold. There are seven primitive data types in JavaScript (Number, BigInt, String, Boolean, Null, Undefined and Symbol). Objects are non-primitives.
Free Content
JavaScript Data Types - CodeGuage