From aa65df942fe51e35b448a36007da4985ac059c00 Mon Sep 17 00:00:00 2001 From: Shawn Kupfer <60445862+ShawnKupfer@users.noreply.github.com> Date: Mon, 11 Jul 2022 10:07:38 -0500 Subject: [PATCH] Update module02.ts Proposed syntax update (firstname > firstName and lastname > lastName) --- code/module-02/m02-start/module02.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/module-02/m02-start/module02.ts b/code/module-02/m02-start/module02.ts index 7f259fa..f9e638f 100644 --- a/code/module-02/m02-start/module02.ts +++ b/code/module-02/m02-start/module02.ts @@ -15,7 +15,7 @@ firstName = 'Rebecca'; lastName = 'Smith'; age = 42; ukCitizen = false; -fullName = firstname + " " + lastname; +fullName = firstName + " " + lastName; if (ukCitizen) { console.log("My name is " + fullName + ", I'm " + age + ", and I'm a citizen of the United Kingdom."); @@ -80,4 +80,4 @@ console.log(whichMonths("Fall")); console.log(randomNumbers); - \ No newline at end of file +