We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Int8Array
Int8Array.fill
1.1.30
Darwin 23.6.0 x86_64 i386
Hi,
I want to report this bug in bun, it can reproduced by running this code example:
let rab = new ArrayBuffer(1, { maxByteLength: 2}); let ta = new Int8Array(rab); let value = { valueOf() { rab.resize(2); return 123; }, }; ta.fill(value); console.log(ta[0]); console.log(ta[1]); //bun: 0, node&deno: 123
Thanks,
AH
To fill both ta[0] and ta[1] with 123.
ta[0]
ta[1]
123
ta[0] = 123 ta[1] = 0
0
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What version of Bun is running?
1.1.30
What platform is your computer?
Darwin 23.6.0 x86_64 i386
What steps can reproduce the bug?
Hi,
I want to report this bug in bun, it can reproduced by running this code example:
Thanks,
AH
What is the expected behavior?
To fill both
ta[0]
andta[1]
with123
.What do you see instead?
ta[0]
=123
ta[1]
=0
Additional information
No response
The text was updated successfully, but these errors were encountered: