const uint8 = new Uint8Array([10, 20, 30]); const result = uint8.reduceRight( (accumulator, currentValue) => `${accumulator}, ${currentValue}`, ); console.log(result); // Expected output: "30, 20, 10"