Skip to content

Commit

Permalink
Typo Fix (#21)
Browse files Browse the repository at this point in the history
## Changes

Changed "Ypu" to "You".

## Checks

By submitting your pull request for review, you agree to the following:

- [X] This contribution was created in whole or in part by me, and I
have the right to submit it under the terms of this repository's open
source licenses.
- [X] I understand and agree that this contribution and a record of it
are public, maintained indefinitely, and may be redistributed under the
terms of this repository's open source licenses.
- [X] To the best of my knowledge, all proposed changes are accurate.
  • Loading branch information
Katrist authored Aug 30, 2023
1 parent 11f8772 commit 834f68b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/en-us/luau/control-structures.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The condition for `if` statements, `while` loops, and `repeat` loops can be any

The basic `if` statement tests its condition. If the condition is true, then Luau executes the code between `then` and `end`.

Ypu can use an `elseif` statements to test for additional conditions if the `if` condition is false. You can use an `else` statement to execute code if all `if` and `elseif` conditions fail. The `elseif` and `else` parts are both optional, but you can't use either without an initial `if` statement.
You can use an `elseif` statements to test for additional conditions if the `if` condition is false. You can use an `else` statement to execute code if all `if` and `elseif` conditions fail. The `elseif` and `else` parts are both optional, but you can't use either without an initial `if` statement.

In a chain of `if`, `elseif`, and `else` conditions, Luau tests conditions from top to bottom, stops at the first `true` condition, and executes the code that follows it.

Expand Down

0 comments on commit 834f68b

Please sign in to comment.