Skip to content

Fixes Float64Array example in Object.freeze documentation#43976

Merged
sideshowbarker merged 1 commit intomdn:mainfrom
juliyvchirkov:patch-5
May 2, 2026
Merged

Fixes Float64Array example in Object.freeze documentation#43976
sideshowbarker merged 1 commit intomdn:mainfrom
juliyvchirkov:patch-5

Conversation

@juliyvchirkov
Copy link
Copy Markdown
Contributor

Description

The sample aimed to demonstrate the freezing of an empty Float64Array has been throwing RangeError: start offset of Float64Array should be a multiple of 8. This fix updates the start offset value to make the code behave the expected way

Fixes start offset value to avoid  ``RangeError: start offset of Float64Array should be a multiple of 8``
@juliyvchirkov juliyvchirkov requested a review from a team as a code owner April 30, 2026 19:52
@juliyvchirkov juliyvchirkov requested review from sideshowbarker and removed request for a team April 30, 2026 19:52
@github-actions github-actions Bot added Content:JS JavaScript docs size/xs [PR only] 0-5 LoC changed labels Apr 30, 2026
@github-actions
Copy link
Copy Markdown
Contributor

@sideshowbarker sideshowbarker merged commit 7aba7d7 into mdn:main May 2, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:JS JavaScript docs size/xs [PR only] 0-5 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants