Why is `a = a` `nil` in Ruby?
-
29-10-2019 - |
سؤال
I watched this video. Why is a = a
evaluated to nil
if a
is not defined?
a = a # => nil
b = c = q = c # => nil
لا يوجد حل صحيح
لا تنتمي إلى StackOverflow
سؤال
I watched this video. Why is a = a
evaluated to nil
if a
is not defined?
a = a # => nil
b = c = q = c # => nil
لا يوجد حل صحيح