mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-18 12:31:22 +02:00
Fix delete example
This commit is contained in:
@@ -278,7 +278,7 @@ f(22); // call
|
||||
|
||||
// Delete can be called on most types
|
||||
// (does NOT destroy value, but sets value to 0, the initial value)
|
||||
uint x = 5;
|
||||
delete x;
|
||||
|
||||
|
||||
// Destructuring/Tuples
|
||||
|
Reference in New Issue
Block a user