diff --git a/doc/reference/reactivity.md b/doc/reference/reactivity.md index 1dce4878..745ba8b9 100644 --- a/doc/reference/reactivity.md +++ b/doc/reference/reactivity.md @@ -262,7 +262,7 @@ original object: const obj = {}; const reactiveObj = reactive(obj); console.log(obj === reactiveObj); // false -console.log(toRaw(obj) === reactiveObj); // true +console.log(obj === toRaw(reactiveObj)); // true ``` It can also be useful during debugging, as unfolding proxies recursively in debuggers can be confusing.