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>
pull/2121/head^2
aliaa gheis 2 years ago committed by GitHub
parent fc925df147
commit 8bbe28f2ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      content/roadmaps/106-javascript/content/103-javascript-type-casting/102-implicit-type-casting.md
  2. 8
      content/roadmaps/106-javascript/content/108-javascript-expressions-and-operators/101-omparison-operators.md
  3. 11
      content/roadmaps/106-javascript/content/112-javascript-asynchronous-javascript/104-promises/100-async-await.md

@ -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
`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>

Loading…
Cancel
Save