Skip to content

Instantly share code, notes, and snippets.

@sajjadyousefnia
Created April 2, 2018 09:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sajjadyousefnia/b3e2516d3b5defbf4a9f3128ce3dccd1 to your computer and use it in GitHub Desktop.
Save sajjadyousefnia/b3e2516d3b5defbf4a9f3128ce3dccd1 to your computer and use it in GitHub Desktop.
var mutableNames1 = names.toMutableList()
mutableNames1.add("Ruth") // now mutable and added "Ruth" to list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment