From f66f29724929a526f90b14bfe4aa2ed7c8867bed Mon Sep 17 00:00:00 2001 From: annmaryvinod Date: Fri, 14 Oct 2022 01:27:21 +0530 Subject: [PATCH] added notes on variables in javascript --- 01_Day_Introduction/01_day_starter/variable.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/01_Day_Introduction/01_day_starter/variable.js b/01_Day_Introduction/01_day_starter/variable.js index f614d8e..1c1af5b 100644 --- a/01_Day_Introduction/01_day_starter/variable.js +++ b/01_Day_Introduction/01_day_starter/variable.js @@ -8,10 +8,11 @@ let age = 100 // age in years let isMarried = true // Declaring variables with number values + // We can use keywords like var,let and const to declare variables // let allows one time declaration and multiple time value assignment // const allows one time declarartion as well as assignment -// var allows multiple declaration and assignment. +// var allows multiple declaration and assignment const gravity = 9.81 // earth gravity in m/s2 const boilingPoint = 100 // water boiling point, temperature in oC