Timothy Flynn
93712b24bf
Everywhere: Hoist the Libraries folder to the top-level
2024-11-10 12:50:45 +01:00
Andreas Kling
13d7c09125
Libraries: Move to Userland/Libraries/
2021-01-12 12:17:46 +01:00
Linus Groh
745ffca580
LibJS: Use element index as key for array spread in object
...
This fixes spreading of arrays with holes in object literals where the
inserted keys are not consecutive numbers.
Fixes #3967 .
2020-11-07 10:08:28 +01:00
Matthew Olsson
a51b2393f2
LibJS: Integrate iterator protocol into language features
...
Finally use Symbol.iterator protocol in language features :) currently
only used in for-of loops and spread expressions, but will have more
uses later (Maps, Sets, Array.from, etc).
2020-07-14 17:58:42 +02:00
Matthew Olsson
119386ffb0
LibJS: Add tests for symbol object integration
2020-07-09 23:33:00 +02:00
Matthew Olsson
1ef573eb30
LibJS: Indent tests with 4 spaces instead of 2
2020-07-06 23:40:35 +02:00
Matthew Olsson
6d58c48c2f
test-js: Use prettier and format all files
2020-07-06 23:40:35 +02:00
Matthew Olsson
eea6041302
LibJS: Convert some top-level tests to the new system
...
First test conversions! These look really good :)
2020-07-06 23:40:35 +02:00
mattco98
104969a9f5
LibJS: Add spreading in object literals
...
Supports spreading strings, arrays, and other objects within object
literals.
2020-04-28 20:37:21 +02:00