Releases: lujjjh/gates
Releases · lujjjh/gates
Arrow function
v0.0.2 Support arrow function (#31)
Initial release
Merge pull request #27 from cloverstd/fix/iterator Fix/iterator
0.0.1: Merge pull request #27 from cloverstd/fix/iterator
Unref before Iterable assertion
Merge pull request #27 from cloverstd/fix/iterator Fix/iterator
Currying and pipeline operator
Merge pull request #26 from gates/pipeline-operator Support pipeline operator
Iterator and spread syntax
(function () {
assert_eq([], to_entries({}));
assert_eq([
{ key: "bar", value: "baz" },
{ key: "foo", value: 42 }
], to_entries({
foo: 42,
bar: "baz"
}));
assert_eq({}, from_entries([]));
assert_eq({
foo: 42,
bar: "baz"
}, from_entries([
{ key: "bar", value: "baz" },
{ key: "foo", value: 42 }
]));
assert_eq([ 1, 2, 3, 4 ], [ 1, ...[ 2, 3 ], ...[ 4 ], ...[] ]);
{
let x = [ 2, 3 ];
assert_eq([ 1, 2, 3, [ 2, 3, 2, 3 ], 4 ], [ 1, ...x, [ ...x, ...x ], 4 ]);
}
assert_eq({ foo: 42, bar: "baz" }, { foo: 42, ...{ bar: "baz" } });
})()
Fix block optimization
Merge pull request #21 from gates/fix-block-optimization Fix block optimization
Find methods
Support ToNative on circular references
Merge pull request #13 from gates/to-native-circular-ref Fix circular reference in ToNative