mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[FIX] documentation, incorrect example of toRaw
This commit is contained in:
@@ -262,7 +262,7 @@ original object:
|
|||||||
const obj = {};
|
const obj = {};
|
||||||
const reactiveObj = reactive(obj);
|
const reactiveObj = reactive(obj);
|
||||||
console.log(obj === reactiveObj); // false
|
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.
|
It can also be useful during debugging, as unfolding proxies recursively in debuggers can be confusing.
|
||||||
|
|||||||
Reference in New Issue
Block a user