Model

Instance methods listed below.

Models also expose a few more methods for the built-in event system, which is explained in Watcher section.

destroy

destroy()

Destroys the model, and cleans up its watchers.

toJS

toJS()

Returns a plain JavaScript object from all its properties, as well as nested Models and Collections.