parent
539e9e1a60
commit
a8dcdf60dd
138 changed files with 7627 additions and 16363 deletions
@ -1,8 +0,0 @@ |
|||||||
# Equality algorithms |
|
||||||
|
|
||||||
Equality algorithms are used to perform equality comparisons of values or variables in JavaScript. Each equality algorithm works slightly differently, and the one you use depends on the type of comparison you want to make. |
|
||||||
|
|
||||||
Visit the following resources to learn more: |
|
||||||
|
|
||||||
- [@article@Which JavaScript equality algorithm should you use?](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Equality_comparisons_and_sameness) |
|
||||||
- [@feed@Explore top posts about Algorithms](https://app.daily.dev/tags/algorithms?ref=roadmapsh) |
|
@ -1,11 +0,0 @@ |
|||||||
# Labeled Statements |
|
||||||
|
|
||||||
JavaScript label statements are used to prefix a label to an identifier. It can be used with `break` and `continue` statement to control the flow more precisely. |
|
||||||
|
|
||||||
A label is simply an identifier followed by a colon`(:)` that is applied to a block of code. |
|
||||||
|
|
||||||
Visit the following resources to learn more: |
|
||||||
|
|
||||||
- [@article@JavaScript MDN Docs](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/label) |
|
||||||
- [@article@Tutorialspoint – JavaScript Tutorial](https://www.tutorialspoint.com/What-are-label-statements-in-JavaScript) |
|
||||||
- [@article@Labels for break/continue](https://javascript.info/while-for#labels-for-break-continue) |
|
@ -1,17 +0,0 @@ |
|||||||
# Defining and Calling Functions |
|
||||||
|
|
||||||
**Defining:** |
|
||||||
|
|
||||||
- JavaScript function _declarations_ are made by using the `function` keyword. |
|
||||||
- Functions can also be defined by saving function _expressions_ to a variable. "Arrow" functions are commonly used in this way. |
|
||||||
|
|
||||||
**Calling:** |
|
||||||
|
|
||||||
- When a function is defined, it is not yet executed. |
|
||||||
- To call and invoke a function's code, use the function's name followed by parentheses: `functionName()`. |
|
||||||
|
|
||||||
Visit the following resources to learn more: |
|
||||||
|
|
||||||
- [@article@Defining Functions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Functions#defining_functions) |
|
||||||
- [@article@Calling Functions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Functions#calling_functions) |
|
||||||
- [@article@Function Definitions](https://www.w3schools.com/js/js_function_definition.asp) |
|
@ -1,7 +0,0 @@ |
|||||||
# call() method |
|
||||||
|
|
||||||
The `call()` method calls the function with a reference to the aspire object to `this` keyword. `call()` method accepts an argument list and each arguments should be provided individually. |
|
||||||
|
|
||||||
Visit the following resources to learn more: |
|
||||||
|
|
||||||
- [@article@call() method](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/call) |
|
@ -1,7 +0,0 @@ |
|||||||
# apply() method |
|
||||||
|
|
||||||
`apply()` method is almost identical to `call()` method, except that `call()` method accepts an argument list, while `apply()` method accepts a single array of arguments. |
|
||||||
|
|
||||||
Visit the following resources to learn more: |
|
||||||
|
|
||||||
- [@article@apply() method](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/apply) |
|
@ -1,7 +0,0 @@ |
|||||||
# bind() method |
|
||||||
|
|
||||||
The `bind()` method return a new method that has its `this` keyword refers to the aspire object, with a given sequence of arguments which can be call later. |
|
||||||
|
|
||||||
Visit the following resources to learn more: |
|
||||||
|
|
||||||
- [@article@bind() method](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind) |
|
@ -0,0 +1 @@ |
|||||||
|
# === |
@ -0,0 +1 @@ |
|||||||
|
# apply |
@ -0,0 +1 @@ |
|||||||
|
# bigint |
@ -0,0 +1 @@ |
|||||||
|
# bind |
@ -0,0 +1 @@ |
|||||||
|
# boolean |
@ -0,0 +1 @@ |
|||||||
|
# call |
@ -0,0 +1 @@ |
|||||||
|
# DOM APIs |
@ -0,0 +1 @@ |
|||||||
|
# null |
@ -0,0 +1 @@ |
|||||||
|
# number |
@ -0,0 +1 @@ |
|||||||
|
# Object.is |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue