mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-11 22:30:53 +01:00
Fix typo in code example
This commit is contained in:
parent
c9b1a915f7
commit
b432671979
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ Currently, attempting to index `dog.name` while caring for `dog` being nil requi
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
local dogName = nil
|
local dogName = nil
|
||||||
if dog.name ~= nil then
|
if dog ~= nil then
|
||||||
dogName = dog.name
|
dogName = dog.name
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Reference in a new issue