Skip to content

Commit fb1c3be

Browse files
markdown improvements
1 parent 276f872 commit fb1c3be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lexicalscoping.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ The fourth `print()` statement uses the variable `x` which exists within the fun
8585

8686
I added a call to variable `x` after the function `crazy()` returns to show it keeps the new value assigned to it by the super-assignment operator inside function `crazy()`.
8787

88-
The super-assignment operator does not update a variable of the same name inside an inner function but the innermost environment inherits any changes unless a local variable of the same name exists within the inner function as demonstrated by x <- 42; print(x) and print(x).
88+
The super-assignment operator does not update a variable of the same name inside an inner function but the innermost environment inherits any changes unless a local variable of the same name exists within the inner function as demonstrated by `x <- 42`; `print(x)` and `print(x)`.
8989
Furthermore, if a variable named `x` had existed inside function `crazy()` and preceded the call to the super-assignment operator, the results would be as shown in the next example.
9090

9191
```R

0 commit comments

Comments
 (0)