From fe9d4db9ac0021fa9afaf20cc00b9891250e7e6e Mon Sep 17 00:00:00 2001 From: bendtherules Date: Wed, 22 Apr 2026 18:00:35 +0530 Subject: [PATCH] Improve prompt 3 --- src/mcp-server-http.ts | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/mcp-server-http.ts b/src/mcp-server-http.ts index 762a438..eeee6f7 100644 --- a/src/mcp-server-http.ts +++ b/src/mcp-server-http.ts @@ -196,13 +196,15 @@ I prefer Pattern 1 when possible as it provides exact spec sections through exec Example - How inserting to array works? - Maps to Pattern 2, Flow A: -- I'll generate this code: - let arr = []; - ask262Debug.startImportant(); - arr.push(1); - ask262Debug.stopImportant(); - console.log(arr); - console.log(arr.length); +- I'll generate this code: + ``` + let arr = []; + ask262Debug.startImportant(); + arr.push(1); + ask262Debug.stopImportant(); + console.log(arr); + console.log(arr.length); + ``` - I'll run it through ask262_evaluate_in_engine262 to find important sections - I'll get content for some of those sections with ask262_get_section_content - I'll explain which sections were hit and how they relate to Array.prototype.push and length property