From b45e110d88288eec6f4214d034baa0e1216cb3d2 Mon Sep 17 00:00:00 2001 From: Achana Naga Durga Prasad <108184152+durgaprasad118@users.noreply.github.com> Date: Mon, 3 Jul 2023 22:34:54 +0530 Subject: [PATCH] Update 02_day_data_types.md Adding BigInt to the primitive data types --- 02_Day_Data_types/02_day_data_types.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/02_Day_Data_types/02_day_data_types.md b/02_Day_Data_types/02_day_data_types.md index e27d43d..07270e9 100644 --- a/02_Day_Data_types/02_day_data_types.md +++ b/02_Day_Data_types/02_day_data_types.md @@ -63,7 +63,8 @@ Primitive data types in JavaScript include: 4. Null - empty value or no value 5. Undefined - a declared variable without a value 6. Symbol - A unique value that can be generated by Symbol constructor - + 7. BigInt - represent numeric values which are too large to be represented by the number + Non-primitive data types in JavaScript includes: 1. Objects @@ -176,7 +177,7 @@ const PI = 3.14 // pi a geometrical constant // More Examples const boilingPoint = 100 // temperature in oC, boiling point of water which is a constant -const bodyTemp = 37 // oC average human body temperature, which is a constant +const bodyTemp = 37 // oC average human body temperature, which is not constant console.log(age, gravity, mass, PI, boilingPoint, bodyTemp) ```