Created
March 13, 2022 13:20
-
-
Save Deleplace/9aedfdf1fe0a505bd315f0cd12ae8d85 to your computer and use it in GitHub Desktop.
Delete last element from list
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
main() { | |
var items = ["a", "b", "c"]; | |
items.removeLast(); | |
print(items); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment