From 82023f2570f9010ba58832d38750ef39d62dad2b Mon Sep 17 00:00:00 2001 From: Deokjin Kim Date: Sat, 7 Jan 2023 08:49:36 +0900 Subject: [PATCH] doc: update output of example in inspector Actual output of promise example in inspector is mismatched. PR-URL: https://github.com/nodejs/node/pull/46073 Reviewed-By: Kohei Ueno Reviewed-By: Darshan Sen Reviewed-By: Colin Ihrig --- doc/api/inspector.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/inspector.md b/doc/api/inspector.md index 066e95c03f47b0..27a7c656136196 100644 --- a/doc/api/inspector.md +++ b/doc/api/inspector.md @@ -144,7 +144,7 @@ try { } catch (error) { console.error(error); } -// Output: { type: 'number', value: 4, description: '4' } +// Output: { result: { type: 'number', value: 4, description: '4' } } ``` The latest version of the V8 inspector protocol is published on the