Skip to content

可否在同一个对象中注入同名的实例函数和静态函数 #26

Answered by LanderlYoung
yqs112358 asked this question in Q&A
Discussion options

You must be logged in to vote

不建议这么做。

具体要看backend实现,现在JS是把instance挂到prototype里,lua是metaTavle里。

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by yqs112358
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants