Improve prompt 3

This commit is contained in:
2026-04-22 18:00:35 +05:30
parent c481d41871
commit fe9d4db9ac
+9 -7
View File
@@ -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