We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cda999b commit a353497Copy full SHA for a353497
content/en-us/luau/tables.md
@@ -302,7 +302,7 @@ local function deepCopy(original)
302
-- then deep copy it to the key (index).
303
-- Else (or) the type isn't a table,
304
-- assign the default value to the index instead.
305
- copy[key] = type(value) == "table" and MY_deepCopy(value) or value
+ copy[key] = type(value) == "table" and deepCopy(value) or value
306
end
307
308
-- Return the finalized copy of the deep cloned table
0 commit comments