mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 21:19:50 +01:00
f7cd3f6e0c
Fixes: https://github.com/nodejs/node/issues/43095 Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com PR-URL: https://github.com/nodejs/node/pull/43100 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
13 lines
240 B
JavaScript
13 lines
240 B
JavaScript
'use strict';
|
|
|
|
require('../common');
|
|
const { inspect } = require('node:util');
|
|
|
|
const r = Proxy.revocable({}, {});
|
|
r.revoke();
|
|
|
|
console.dir(r);
|
|
console.dir(r.proxy);
|
|
console.log(r.proxy);
|
|
console.log(inspect(r.proxy, { showProxy: true }));
|