If you add a comma after the assignment statement, why is the lua variable empty?

Code:

local i1 = 1
print(i1)

local i2 = 1,0
print(i2)

local i3 = 1,
print(i3)

result:

1
1
nil

Why is i3 nil instead of 1?

Lua
Mar.24,2021

with a few exceptions, Lua ignores spaces and newline characters. The original code can be represented as
local i3 = 1, and the print (i3)
assignment statement evaluates all its expressions before performing the assignment. So print before the assignment, but in the end i3 is assigned to 1.
local i3 = 1,
print (i3)-- nil
print (i3)-- 1

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e87e64-e98.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e87e64-e98.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?