Backbone について質問があります。モデルのすべての属性を空に設定するにはどうすればよいですか?
unsetmodel.unset(attribute, [options])
Remove an attribute by deleting it from the internal attributes hash. Fires a "change" event unless silent is passed as an option.
ただし、これは個々のプロパティを 1 つずつ設定解除することのみを目的としています。
誰でもアイデアはありますか?
グレッツ、