mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
chore(curriculum): mention PEMDAS in pyramid generator (#57355)
Co-authored-by: Ilenia <26656284+ilenia-magoni@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ dashedName: step-70
|
||||
|
||||
# --description--
|
||||
|
||||
You can pass full expressions as an argument. The function will receive the result of evaluating that expression. For example, these two function calls would yield the same result:
|
||||
You can pass full expressions as an argument. The function will receive the result of evaluating that expression. For example, these two function calls below would yield the same result. (Note that the order of operations rule PEMDAS—Parenthesis, Exponents, Multiplication, Division, Addition, Subtraction—applies):
|
||||
|
||||
```js
|
||||
test(2 * 3 + 1);
|
||||
|
||||
Reference in New Issue
Block a user