Collection.length is read-only, isn't it?

Opera fires an Uncaught exception: DOMException: NO_MODIFICATION_ALLOWED_ERR
when Mithril tries to set nodes.length = 0