Skip to content

feat: add Object and sparse Array methods - #17

Merged
ellainng merged 3 commits into
mainfrom
feat/JS-02-objects-and-arrays
Oct 16, 2026
Merged

ellainng merged 3 commits into
mainfrom
feat/JS-02-objects-and-arrays

Conversation

@ellainng

@ellainng ellainng commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

Add identity-based Object values with own data properties and sparse Array values with JavaScript indexing, holes, length and callback behavior. Enumeration orders numeric keys first; array searches distinguish strict equality and SameValueZero. Callback methods snapshot length, observe later mutations and never retry user exceptions.

Validation: all 26 value/Object/Array tests pass, including sparse map/filter/find/reduce, mutation, key collisions, UTF-16 string property enumeration, NaN, signed zero, cycles and installed-package foundations. Prototypes, descriptors and primitive Object boxing remain outside this initial subset.

Closes #3. Project: https://github.com/orgs/outside-labs/projects/11

Base automatically changed from feat/JS-01-values-and-packaging to main October 16, 2026 19:54
@ellainng
ellainng merged commit 9cd2977 into main Oct 16, 2026
3 checks passed
@ellainng
ellainng deleted the feat/JS-02-objects-and-arrays branch October 16, 2026 19:56
@ellainng
ellainng restored the feat/JS-02-objects-and-arrays branch October 16, 2026 19:58
@ellainng
ellainng deleted the feat/JS-02-objects-and-arrays branch October 16, 2026 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JS-02: Implement Object and sparse Array algorithms

1 participant