From d24f1e012ff2659a1c0d0667b92e7c1b9ad6b955 Mon Sep 17 00:00:00 2001 From: Milan Date: Sun, 20 Oct 2024 10:52:06 +0545 Subject: [PATCH 1/2] name error --- 2-variables/07-data-types.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/2-variables/07-data-types.js b/2-variables/07-data-types.js index 9184552..9ba25f9 100644 --- a/2-variables/07-data-types.js +++ b/2-variables/07-data-types.js @@ -6,7 +6,8 @@ const foundingYear = 2022; let isActive = true; let fundingAmount = undefined; -console.log(company); +// change comapany to companyName +console.log(companyName); console.log(foundingYear); console.log(isActive); console.log(fundingAmount); From da2ab4c3cbe54046411e4a90c56c4e7fe0f0f916 Mon Sep 17 00:00:00 2001 From: Milan Date: Sun, 20 Oct 2024 11:22:45 +0545 Subject: [PATCH 2/2] "Added console.log to print result of relativityTheory function call" --- 6-functions/31-e-mc-2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/6-functions/31-e-mc-2.js b/6-functions/31-e-mc-2.js index f7304e5..5c0f753 100644 --- a/6-functions/31-e-mc-2.js +++ b/6-functions/31-e-mc-2.js @@ -9,4 +9,4 @@ function relativityTheory(mass) { return energy; } -relativityTheory(123.4); \ No newline at end of file +console.log(relativityTheory(123.4)); \ No newline at end of file