From 33a5933eb910dbd5fa220adb7a825e9efc39fc7c Mon Sep 17 00:00:00 2001 From: James <85808999+TheGreatSageEqualToHeaven@users.noreply.github.com> Date: Thu, 8 Feb 2024 06:03:22 +0000 Subject: [PATCH] Update syntax-if-statements-initializers.md --- docs/syntax-if-statements-initializers.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/syntax-if-statements-initializers.md b/docs/syntax-if-statements-initializers.md index cfaecc7..27ca3c0 100644 --- a/docs/syntax-if-statements-initializers.md +++ b/docs/syntax-if-statements-initializers.md @@ -50,7 +50,7 @@ end `Output: true` -When declaring multiple values inside of a condition, only the first condition will be evaluated. +When declaring multiple values inside of a condition, all of the variables will be evaluated. Example: @@ -60,6 +60,7 @@ local function foo() end if local a,b = foo() then +else print'Hello World, from Luau!' end ```