Question
If you are writing a function that accepts an argument and you want to make sure the function cannot change the value of the argument, what do you do?
Step 1
In programming, immutability means that once a value is created, it cannot be changed. This is important when you want to ensure that the original argument passed to a function remains unchanged. Show more…
Show all steps
Your feedback will help us improve your experience
Watch the video solution with this free unlock.
EMAIL
PASSWORD