From 933a586896946517c9442b01d5ff3b40465ff0c6 Mon Sep 17 00:00:00 2001 From: Zosoutsav <88942040+zosoutsav@users.noreply.github.com> Date: Sun, 3 Jul 2022 20:22:06 +0545 Subject: [PATCH] added semicolons that were missing Added semicolon to the codes that were missing --- 01_Day_Introduction/variable.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/01_Day_Introduction/variable.js b/01_Day_Introduction/variable.js index f5872af..dc51d28 100644 --- a/01_Day_Introduction/variable.js +++ b/01_Day_Introduction/variable.js @@ -1,17 +1,17 @@ // Declaring different variables of different data types -let firstName = 'Asabeneh' // first name of a person -let lastName = 'Yetayeh' // last name of a person -let country = 'Finland' // country -let city = 'Helsinki' // capital city -let age = 100 // age in years -let isMarried = true +let firstName = 'Asabeneh'; // first name of a person +let lastName = 'Yetayeh'; // last name of a person +let country = 'Finland'; // country +let city = 'Helsinki'; // capital city +let age = 100; // age in years +let isMarried = true; // Declaring variables with number values -const gravity = 9.81 // earth gravity in m/s2 -const boilingPoint = 100 // water boiling point, temperature in oC -const PI = 3.14 // geometrical constant +const gravity = 9.81; // earth gravity in m/s2 +const boilingPoint = 100; // water boiling point, temperature in oC +const PI = 3.14; // geometrical constant // Variables can also be declaring in one line separated by comma let name = 'Asabeneh', //name of a person job = 'teacher', - live = 'Finland' + live = 'Finland';