Enforced immutability: Difference between revisions

Content added Content deleted
mNo edit summary
Line 450:
 
Here, the result is ["a", "b"].
 
=={{header|Julia}}==
<lang julia>
const x = pi
x = e
</lang>
Produces: ERROR: LoadError: invalid redefinition of constant x
 
=={{header|Kotlin}}==