且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Javascript函数指针赋值

更新时间:2022-06-27 02:41:14

是的,这是预期的和设计的。

Yes that is expected and by design.

您的问题基本上是: foo 参考 bar 作为指针或引用会用另一种语言吗?

Your question is basically: does foo reference bar as a pointer or reference would in another language?

答案是否定的:栏的 在转让时被分配到 foo