mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-31 04:59:50 +02:00
Add content to (Implicit-type-casting, Async/Await, Comparison operator) with fix typo in comparison operator (#2125)
* 102-implicit-type-casting.md * fix typo and add content in 101-comparison-operators.md * Update 100-async-await.md * fix typo compasion operator in javascript.json * Rename 101-comparison-operators.md to 101-omparison-operators.md * Update public/project/javascript.json * Update content/roadmaps/106-javascript/content/103-javascript-type-casting/102-implicit-type-casting.md * Update content/roadmaps/106-javascript/content/108-javascript-expressions-and-operators/101-omparison-operators.md Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
This commit is contained in:
@@ -1 +1,6 @@
|
||||
# Implicit type casting
|
||||
# Implicit Type Casting
|
||||
|
||||
Implicit type casting happens when JavaScript automatically converts one data type to another to meet the expectations of the process. as for example passing a number when it expects a string like `"foo" + 1`, the Number `1` is implicitly converted into a string and the expression returns `"foo1"`.
|
||||
|
||||
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
|
||||
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://dev.to/promisetochi/what-you-need-to-know-about-javascripts-implicit-coercion-e23'>What you need to know about Javascript's Implicit Coercion</BadgeLink>
|
||||
|
@@ -1 +1,7 @@
|
||||
# Omparison operators
|
||||
# Comparison Operators
|
||||
|
||||
Comparison operators are the operators that compare values and return true or false.
|
||||
The operators include : `>`, `<`, `>=`, `<=`, `==`, `===`, `!==` and `!===`
|
||||
|
||||
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
|
||||
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators#comparison_operators'>Comparison operators</BadgeLink>
|
||||
|
@@ -1 +1,10 @@
|
||||
# Async await
|
||||
|
||||
`async/await` is a special syntax to work with promises in a more comfortable fashion.
|
||||
We use `async` keyword to declare a async function that return a Promise, and the `await` keyword makes a function wait for a Promise.
|
||||
|
||||
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
|
||||
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://javascript.info/async-await'>Async/await</BadgeLink>
|
||||
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function'>async function</BadgeLink>
|
||||
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://www.codeguage.com/courses/advanced-js/promises-chaining'>JavaScript Promises - Chaining</BadgeLink>
|
||||
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://www.freecodecamp.org/news/javascript-async-await-tutorial-learn-callbacks-promises-async-await-by-making-icecream/'>JavaScript Async/Await Tutorial – Learn Callbacks, Promises, and Async/Await in JS by Making Ice Cream</BadgeLink>
|
||||
|
Reference in New Issue
Block a user