Skip to content

Commit 575e84e

Browse files
committed
learn about strings
1 parent abff8e0 commit 575e84e

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

linked-list/day10.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ! DSA in JavaScript day 10
22

3-
// Todo: Link List
3+
// Todo: Linked List
44

55
class Node {
66
constructor(value) {

strings/day11.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// ! DSA in JavaScript day 10
2+
3+
// Todo: Strings
4+
5+
// * How to declare a string
6+
const string = new String("Hello World !"); // * Using new Keyword
7+
// prettier-ignore
8+
const string2 = 'Hello World !'; // using Single carts
9+
const string3 = "Hello World !"; // using dobla carts
10+
const string4 = `Hello World !`; // using backticks

0 commit comments

Comments
 (0)