We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
对于set、add这些方法,返回值如何选择:
set
add
Map
Set
var i = model.set('x', 3)
collection.remove
this
fill
The text was updated successfully, but these errors were encountered:
No branches or pull requests
对于
set
、add
这些方法,返回值如何选择:Map
和Set
相符合var i = model.set('x', 3)
这样写代码,但是对于collection.remove
这种可能操作多个元素的,返回值会不好定this
,便于链式调用,但链式没看到有啥好处,加上本来就有批量操作的fill
之类的方法了The text was updated successfully, but these errors were encountered: