From 834f68b355caf02b4da86150db17b9fdd1d4aea8 Mon Sep 17 00:00:00 2001 From: Katrist <74381356+Katrist@users.noreply.github.com> Date: Tue, 29 Aug 2023 19:07:40 -0600 Subject: [PATCH] Typo Fix (#21) ## 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. --- content/en-us/luau/control-structures.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en-us/luau/control-structures.md b/content/en-us/luau/control-structures.md index e3413b0d0..fe82a310a 100644 --- a/content/en-us/luau/control-structures.md +++ b/content/en-us/luau/control-structures.md @@ -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.