1 year ago
#308281
Yusuf Yalcin
Elixir allow assign to variable two times
Elixir values are immutable but i can assign two values to same variable. How immutable variable works in Elixir? if x is 5 and it is immutable how can i assign again 7 value? Shouldn't it throw an error? Iex example
functional-programming
elixir
elixir-iex
0 Answers
Your Answer