| name | data-structures |
| description | Master JavaScript objects and arrays including manipulation methods, prototypal inheritance, and complex data structure patterns. |
| sasmp_version | 1.3.0 |
| bonded_agent | 03-objects-arrays |
| bond_type | PRIMARY_BOND |
| skill_type | reference |
| response_format | code_first |
| max_tokens | 1500 |
| parameter_validation | {"required":["topic"],"optional":["method_type"]} |
| retry_logic | {"on_ambiguity":"ask_clarification","fallback":"show_method_list"} |
| observability | {"entry_log":"Data structures skill activated","exit_log":"Data structures reference provided"} |
Data Structures Skill
Quick Reference Card
Object Operations
const obj = { name: 'Alice', age: 30 };
obj.name;
obj['name'];
obj?.address?.city;
obj.email = 'a@b.com';
delete obj.age;
const { name, ...rest } = obj;
Object Methods
Object.keys(obj);
Object.values(obj);
Object.entries(obj);
Object.fromEntries(entries);
Object.assign({}, a, b);
{ ...a, ...b };
Object.freeze(obj);
Object.seal(obj);