Skip to content

Commit

Permalink
updated js fundamentals (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
RAAvenger authored Jul 18, 2024
1 parent e22a426 commit 76d3839
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions docs/frontend/phase01-js-fundamental.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,17 @@ ReferenceError: name is not defined
[JavaScript Let vs Var vs Constant](https://www.youtube.com/watch?v=XgSjoHgy3Rk)
:::

:::tip ‌

برای آشنایی با مفهوم
Hoisting
لینک‌ زیر را مطالعه کنید:

[JavaScript Hoisting](https://www.w3schools.com/js/js_hoisting.asp)
:::



### Regular Function vs Arrow Function

در
Expand Down Expand Up @@ -210,6 +221,32 @@ regularFunctionWrapper.whatIsThis();
arrowFunctionWrapper.whatIsThis();
```


:::tip ‌


برای آشنایی بهتر با
this
در
Arrow
و
Regular Function
لینک‌های زیر را مطالعه کنید:

[Behavior of Arrow functions and regular functions for 'this' keyword](https://medium.com/@akhilanand.ak01/behavior-of-arrow-functions-and-regular-functions-for-this-keyword-fff04f6f2d60#:~:text=In%20Summary%2C,in%20which%20they%20are%20invoked.)

:::

:::tip ‌

برای آشنایی با روش‌های
Binding
لینک‌های زیر را مطالعه کنید:

[How to Use the Call, Apply, and Bind Functions in JavaScript – with Code Examples](https://www.freecodecamp.org/news/understand-call-apply-and-bind-in-javascript-with-examples/)
:::


#### Constructor

قبل از اینکه کلاس‌ها به
Expand Down

0 comments on commit 76d3839

Please sign in to comment.