Created
August 2, 2024 13:11
-
-
Save SaltySpaghetti/24c9e0fb8f22cd16f633c0febd060b8d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void main() { | |
| final myList = [1, 2, 3, 4]; | |
| myList.length = 2; | |
| print(myList); | |
| myList.length = 0; | |
| print(myList); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment