Skip to content

Commit 00e5ddc

Browse files
Add JavaScript fundamentals prep exercises
1 parent 4d35e3d commit 00e5ddc

4 files changed

Lines changed: 16 additions & 0 deletions

File tree

prep/comparison.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// 1
2+
console.log("hello" === "hello");
3+
4+
// 2
5+
console.log("CYF" === "cyf");
6+
7+
// 3
8+
const homeTown = "Newcastle";
9+
console.log(homeTown === "Liverpool");
10+
11+
// 4
12+
console.log(42 === 42);

prep/facts.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
console.log("Stoicism");

prep/greeting.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
const greeting = "hello there";
2+
console.log(greeting);

prep/hello_world.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
console.log("Hello World!");

0 commit comments

Comments
 (0)