[documentation] Float64Array.sort() sorts elements numerically instead of in ASCII character order #45876
Labels
Bug
A bug in TypeScript
Docs
The issue relates to how you learn TypeScript
Good First Issue
Well scoped, documented and has the green light
Help Wanted
You can do this
Milestone
Bug Report
π Search Terms
Float64Array TypedArray Float32Array documentation sort ascii typescript
π Version & Regression Information
β― Playground Link
Playground link with relevant code
π» Code
π Actual behavior
The code behaves differently than the documentation states it. The elements are sorted numerically and not by ASCII character order.
π Expected behavior
I expected the documentation to match with the actual behavior.
The text was updated successfully, but these errors were encountered: