as_object::as_object(VM& vm) : GcResource(vm.getRoot().gc()), _displayObject(nullptr), _array(false), _vm(vm), _members(*this) { }