const sliced = new Int32Array(buffer.slice(4, 12));. 8. // produces Int32Array [42, 0]. 9. . 10. console.log(sliced[0]);. 11. // expected output: 42.
確定! 回上一頁