From 4b61433ff8962d5ee01cd812ea9c41a1f2907d34 Mon Sep 17 00:00:00 2001 From: Deokjin Kim Date: Tue, 3 Jan 2023 20:14:34 +0900 Subject: [PATCH] doc: update output of example in inspector Actual output of promise example in inspector is mismatched. --- 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