diff --git a/content/roadmaps/106-javascript/content/106-javascript-loops-iterations/102-break-continue/readme.md b/content/roadmaps/106-javascript/content/106-javascript-loops-iterations/102-break-continue/readme.md index d6bcea686..34f95efba 100644 --- a/content/roadmaps/106-javascript/content/106-javascript-loops-iterations/102-break-continue/readme.md +++ b/content/roadmaps/106-javascript/content/106-javascript-loops-iterations/102-break-continue/readme.md @@ -1 +1,7 @@ -# Break continue \ No newline at end of file +# Break Continue + +The `break` and `continue` statements are used to "jump out" of a loop. When executed, the `break` statement will terminate the loop entirely; Whereas `continue` will terminate only the current iteration, and continue execution of the loop's next iteration. + +Free Content +break +continue \ No newline at end of file diff --git a/content/roadmaps/106-javascript/content/108-javascript-expressions-and-operators/105-bigint-operators.md b/content/roadmaps/106-javascript/content/108-javascript-expressions-and-operators/105-bigint-operators.md index e717fae96..b576178c1 100644 --- a/content/roadmaps/106-javascript/content/108-javascript-expressions-and-operators/105-bigint-operators.md +++ b/content/roadmaps/106-javascript/content/108-javascript-expressions-and-operators/105-bigint-operators.md @@ -1 +1,5 @@ -# Bigint operators \ No newline at end of file +# BigInt Operators + +Most operators that can be used with the `Number` data type will also work with `BigInt` values (e.g. arithmetic, comparison, etc.). However, the unsigned right shift `>>>` operator is an exception and is not supported. Similarly, some operators may have slight differences in behaviour (for example, division with `BigInt` will round towards zero). + +BigInt Operators diff --git a/content/roadmaps/106-javascript/content/108-javascript-expressions-and-operators/107-conditional-operators.md b/content/roadmaps/106-javascript/content/108-javascript-expressions-and-operators/107-conditional-operators.md index 20317da52..c17a388b3 100644 --- a/content/roadmaps/106-javascript/content/108-javascript-expressions-and-operators/107-conditional-operators.md +++ b/content/roadmaps/106-javascript/content/108-javascript-expressions-and-operators/107-conditional-operators.md @@ -1 +1,6 @@ -# Conditional operators \ No newline at end of file +# Conditional Operators + +The conditional operator (or "ternary" operator) is a shorthand `if...else` statement. The syntax is: `condition ? expression1 : expression2;`. That is, the operator will execute `expression1` if the condition is `truthy`, and otherwise `expression2` if the condition is `falsy`. + +Free Content +Conditional Operator