J
jwaala.amplify
a='asdf'
=> "asdf"=> "qwer"
should'nt that throw and exception ???
=> "asdf"=> "qwer"
should'nt that throw and exception ???
=> "qwer"
should'nt that throw and exception ???
=3D> "asdf"
=3D> "asdf"
=3D> "qwer"
should'nt that throw and exception ???
=> "qwer"
should'nt that throw and exception ???
No, because calling the freeze method prevents from modifying the object, it
doesn't prevent from modifying the variable. Remember that a variable is just
a way to give a name to an object, but it is not tied to this object forever.
Is it just me or has the confusion between variables and objects been
coming up more frequently than usual of late?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.