How does editing variable inside a class function works?

前端 未结 0 702
囚心锁ツ
囚心锁ツ 2020-12-07 21:03

I stumbled upon this code that is supposed to remove the last element of a linked list. I don\'t understand how by modifying a local variable we are modifying a class attrib

相关标签:
回答
  • 消灭零回复
提交回复
热议问题