Skip to content

docs: clarify performance.now() returns floating-point values#43472

Open
dsk-dev-ai wants to merge 1 commit intomdn:mainfrom
dsk-dev-ai:fix-performance-now-float
Open

docs: clarify performance.now() returns floating-point values#43472
dsk-dev-ai wants to merge 1 commit intomdn:mainfrom
dsk-dev-ai:fix-performance-now-float

Conversation

@dsk-dev-ai
Copy link
Contributor

Fixes #42952

Adds clarification that performance.now() returns a floating-point number, which may include fractional milliseconds.

@dsk-dev-ai dsk-dev-ai requested a review from a team as a code owner March 17, 2026 11:46
@dsk-dev-ai dsk-dev-ai requested review from dipikabh and removed request for a team March 17, 2026 11:46
@github-actions github-actions bot added Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed labels Mar 17, 2026
@dsk-dev-ai
Copy link
Contributor Author

Hi! This is my first contribution to MDN 😊

I’ve followed the contribution guidelines and ensured lint/tests pass.

Please let me know if any changes or improvements are needed — happy to update!

Thanks for your time 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

performance.now() may return non-integers in some browsers

2 participants