diff --git a/README.md b/README.md index 86dc5e8..33fb047 100644 --- a/README.md +++ b/README.md @@ -3209,7 +3209,7 @@ var p = new Proxy({}, handler); p.a = 10; p.b = null; -console.log(p.a, p.b); // 1, null +console.log(p.a, p.b); // 10, null console.log('c' in p, p.c); // false, 100 ``` In the above code, it uses `get` handler which define the behavior of the proxy when an operation is performed on it