From 85b7574c77abdf331931a722933aef0aa41f6e37 Mon Sep 17 00:00:00 2001 From: HS <24558802+h-s04@users.noreply.github.com> Date: Sat, 20 Aug 2022 03:09:01 +0800 Subject: [PATCH] Add primitive types resources * Update 100-primitive-types.md * Update content/roadmaps/106-javascript/content/102-javascript-datatypes/100-primitive-types.md Co-authored-by: Kamran Ahmed --- .../100-primitive-types.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/content/roadmaps/106-javascript/content/102-javascript-datatypes/100-primitive-types.md b/content/roadmaps/106-javascript/content/102-javascript-datatypes/100-primitive-types.md index 6337df807..e24f18bf0 100644 --- a/content/roadmaps/106-javascript/content/102-javascript-datatypes/100-primitive-types.md +++ b/content/roadmaps/106-javascript/content/102-javascript-datatypes/100-primitive-types.md @@ -1 +1,15 @@ -# Primitive types \ No newline at end of file +# Primitive Types + +In JavaScript, a primitive (primitive value, primitive data type) is data that is not an object and has no methods or properties. There are 7 primitive data types: + +- `string` +- `number` +- `bigint` +- `boolean` +- `undefined` +- `Symbol` +- `null` + +Most of the time, a primitive value is represented directly at the lowest level of the language implementation. + +Primitive