kataan 0.0.4

A high-performance JavaScript engine written in pure Rust. Library, C FFI, and CLI.
Documentation
1
2
3
4
5
6
7
/*---
description: Array reduceRight and at
esid: sec-properties-of-the-array-prototype-object
---*/
assert.sameValue(["a", "b", "c"].reduceRight(function (acc, x) { return acc + x; }), "cba");
assert.sameValue([10, 20, 30].at(-1), 30);
assert.sameValue([10, 20, 30].at(0), 10);