Skip to content

Commit 0e02027

Browse files
committed
chore: πŸ€– Update filename to maintain order on github
βœ… Closes: #27
1 parent d60e5dc commit 0e02027

22 files changed

+21
-23
lines changed

β€ŽREADME.md

+15-17
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
99
<br>
1010

11-
## πŸ”— [bit.ly/namaste-js](https://bit.ly/namaste-js)
12-
1311
## 🏠 [Namaste Javascript Notes Website](https://alok722.github.io/namaste-javascript-notes/dist/lectures.html)
1412

1513
## πŸš€ [PDF Version of Complete Notes](./dist/namaste-javascript-notes.pdf)
@@ -20,23 +18,23 @@
2018

2119
### πŸ“Œ <ins>Season 1<ins>
2220

23-
#### [Episode 1 : Execution Context](./notes/season-1/lecture-1.md)
21+
#### [Episode 1 : Execution Context](./notes/season-1/lecture-01.md)
2422

25-
#### [Episode 2 : How JS is executed & Call Stack](./notes/season-1/lecture-2.md)
23+
#### [Episode 2 : How JS is executed & Call Stack](./notes/season-1/lecture-02.md)
2624

27-
#### [Episode 3 : Hoisting in JavaScript (variables & functions)](./notes/season-1/lecture-3.md)
25+
#### [Episode 3 : Hoisting in JavaScript (variables & functions)](./notes/season-1/lecture-03.md)
2826

29-
#### [Episode 4 : Functions and Variable Environments](./notes/season-1/lecture-4.md)
27+
#### [Episode 4 : Functions and Variable Environments](./notes/season-1/lecture-04.md)
3028

31-
#### [Episode 5 : Shortest JS Program, window & this keyword](./notes/season-1/lecture-5.md)
29+
#### [Episode 5 : Shortest JS Program, window & this keyword](./notes/season-1/lecture-05.md)
3230

33-
#### [Episode 6 : undefined vs not defined in JS](./notes/season-1/lecture-6.md)
31+
#### [Episode 6 : undefined vs not defined in JS](./notes/season-1/lecture-06.md)
3432

35-
#### [Episode 7 : The Scope Chain, Scope & Lexical Environment](./notes/season-1/lecture-7.md)
33+
#### [Episode 7 : The Scope Chain, Scope & Lexical Environment](./notes/season-1/lecture-07.md)
3634

37-
#### [Episode 8 : let & const in JS, Temporal Dead Zone](./notes/season-1/lecture-8.md)
35+
#### [Episode 8 : let & const in JS, Temporal Dead Zone](./notes/season-1/lecture-08.md)
3836

39-
#### [Episode 9 : Block Scope & Shadowing in JS](./notes/season-1/lecture-9.md)
37+
#### [Episode 9 : Block Scope & Shadowing in JS](./notes/season-1/lecture-09.md)
4038

4139
#### [Episode 10 : Closure in JS](./notes/season-1/lecture-10.md)
4240

@@ -60,17 +58,17 @@
6058

6159
### πŸ“Œ <ins>Season 2<ins>
6260

63-
#### [Episode 20 : Callback Hell](./notes/season-2/lecture-1.md)
61+
#### [Episode 20 : Callback Hell](./notes/season-2/lecture-01.md)
6462

65-
#### [Episode 21 : Promises](./notes/season-2/lecture-2.md)
63+
#### [Episode 21 : Promises](./notes/season-2/lecture-02.md)
6664

67-
#### [Episode 22 : Creating a Promise, Chaining & Error Handling](./notes/season-2/lecture-3.md)
65+
#### [Episode 22 : Creating a Promise, Chaining & Error Handling](./notes/season-2/lecture-03.md)
6866

69-
#### [Episode 23 : async await](./notes/season-2/lecture-4.md)
67+
#### [Episode 23 : async await](./notes/season-2/lecture-04.md)
7068

71-
#### [Episode 24 : Promise APIs (all, allSettled, race, any) + Interview Questions πŸ”₯](./notes/season-2/lecture-5.md)
69+
#### [Episode 24 : Promise APIs (all, allSettled, race, any) + Interview Questions πŸ”₯](./notes/season-2/lecture-05.md)
7270

73-
#### [Episode 25 : `this` keyword in JavaScript](./notes/season-2/lecture-6.md)
71+
#### [Episode 25 : `this` keyword in JavaScript](./notes/season-2/lecture-06.md)
7472

7573
<br>
7674

β€Ždist/lectures.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ <h3 id="q1-what-is-closure-in-javascript"><a class="header-link" href="#q1-what-
694694
} <span class="hljs-comment">// inner forms a closure with outer</span>
695695
<span class="hljs-keyword">return</span> inner;
696696
}
697-
outer()(); <span class="hljs-comment">// 10 // over here first `()` will return inner function and then using secong `()` to call inner function</span></code></pre><h3 id="q2-will-the-below-code-still-forms-a-closure"><a class="header-link" href="#q2-will-the-below-code-still-forms-a-closure"></a>Q2: Will the below code still forms a closure?</h3>
697+
outer()(); <span class="hljs-comment">// 10 // over here first `()` will return inner function and then using second `()` to call inner function</span></code></pre><h3 id="q2-will-the-below-code-still-forms-a-closure"><a class="header-link" href="#q2-will-the-below-code-still-forms-a-closure"></a>Q2: Will the below code still forms a closure?</h3>
698698
<pre class="hljs"><code><span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">outer</span>(<span class="hljs-params"></span>) </span>{
699699
<span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">inner</span>(<span class="hljs-params"></span>) </span>{
700700
<span class="hljs-built_in">console</span>.log(a);

β€Ždist/namaste-javascript-notes.pdf

3.75 KB
Binary file not shown.

β€Žnotes/lectures.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ function outer() {
759759
} // inner forms a closure with outer
760760
return inner;
761761
}
762-
outer()(); // 10 // over here first `()` will return inner function and then using secong `()` to call inner function
762+
outer()(); // 10 // over here first `()` will return inner function and then using second `()` to call inner function
763763
```
764764

765765
### Q2: Will the below code still forms a closure?
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

β€Žnotes/season-1/lecture-12.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function outer() {
1111
} // inner forms a closure with outer
1212
return inner;
1313
}
14-
outer()(); // 10 // over here first `()` will return inner function and then using secong `()` to call inner function
14+
outer()(); // 10 // over here first `()` will return inner function and then using second `()` to call inner function
1515
```
1616

1717
### Q2: Will the below code still forms a closure?
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

β€Žpackage-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žpackage.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "namaste-javascript-notes",
3-
"version": "3.0.0",
3+
"version": "3.1.0",
44
"description": "> This repo maintains my version of javascript notes which I learned from the famous [Namaste Javascript Youtube Series](https://www.youtube.com/watch?v=pN6jk0uUrD8&list=PLlasXeu85E9cQ32gLCvAvr9vNaUccPVNP&index=1&ab_channel=AkshaySaini) by Akshay Saini.",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
Β (0)