Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion foundations/javascript_basics/variables_and_operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@

For instance, JavaScript follows the standard mathematical **Order of Operations** (often remembered by acronyms like **PEMDAS** or **BODMAS**). This means:

1. **Parentheses** (or Brackets) are evaluated first.

Check failure on line 127 in foundations/javascript_basics/variables_and_operators.md

View workflow job for this annotation

GitHub Actions / Lint lesson/project files

Spaces after list markers

foundations/javascript_basics/variables_and_operators.md:127:1 MD030/list-marker-space Spaces after list markers [Expected: 1; Actual: 2] https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md030.md
2. **Multiplication** and **Division** are done next, from left to right.

Check failure on line 128 in foundations/javascript_basics/variables_and_operators.md

View workflow job for this annotation

GitHub Actions / Lint lesson/project files

Ordered lists must always use 1. as a prefix (lazy numbering)

foundations/javascript_basics/variables_and_operators.md:128 TOP010/lazy-numbering-for-ordered-lists Ordered lists must always use 1. as a prefix (lazy numbering) [ Expected: "1" Actual: "2" ] https://github.com/TheOdinProject/curriculum/blob/main/markdownlint/docs/TOP010.md

Check failure on line 128 in foundations/javascript_basics/variables_and_operators.md

View workflow job for this annotation

GitHub Actions / Lint lesson/project files

Spaces after list markers

foundations/javascript_basics/variables_and_operators.md:128:1 MD030/list-marker-space Spaces after list markers [Expected: 1; Actual: 2] https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md030.md
3. **Addition** and **Subtraction** are done last, from left to right.

Check failure on line 129 in foundations/javascript_basics/variables_and_operators.md

View workflow job for this annotation

GitHub Actions / Lint lesson/project files

Ordered lists must always use 1. as a prefix (lazy numbering)

foundations/javascript_basics/variables_and_operators.md:129 TOP010/lazy-numbering-for-ordered-lists Ordered lists must always use 1. as a prefix (lazy numbering) [ Expected: "1" Actual: "3" ] https://github.com/TheOdinProject/curriculum/blob/main/markdownlint/docs/TOP010.md

Check failure on line 129 in foundations/javascript_basics/variables_and_operators.md

View workflow job for this annotation

GitHub Actions / Lint lesson/project files

Spaces after list markers

foundations/javascript_basics/variables_and_operators.md:129:1 MD030/list-marker-space Spaces after list markers [Expected: 1; Actual: 2] https://github.com/DavidAnson/markdownlint/blob/v0.32.1/doc/md030.md

For example, the mathematical expression `(3 + 2) - 76 * (1 + 1)` is perfectly valid JavaScript and will evaluate exactly as you'd expect, if you put that expression into a `console.log`.

Expand Down Expand Up @@ -170,7 +170,7 @@
- [What rules should you follow when naming variables?](https://javascript.info/variables#variable-naming)
- [What happens when you add numbers and strings together?](https://javascript.info/operators#string-concatenation-with-binary)
- [How does the Modulo (%), or Remainder, operator work?](https://javascript.info/operators#remainder)
- [What's the difference between `==` and `===`?](https://www.w3schools.com/js/js_operators.asp)
- [What's the difference between `==` and `===`?](https://www.w3schools.com/js/js_comparisons.asp)
- [When would you receive a `NaN` result?](https://www.w3schools.com/js/js_numbers.asp)
- [How do you increment and decrement a number?](https://javascript.info/operators#increment-decrement)
- [What's the difference between prefixing and postfixing increment/decrement operators?](https://javascript.info/operators#increment-decrement)
Expand Down
Loading