Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.

Conversation

@Conaclos
Copy link
Contributor

Summary

Promote use of Number.isNaN instead of isNaN.

Number.isNaN() and isNaN() have not the same behavior. When the argument to isNaN() is not a number, the value is first coerced to a number. Number.isNaN() does not perform this coercion. Therefore, it is a more reliable way to test whether a value is NaN.

Test Plan

The snapshot is updated.

Documentation

  • The PR requires documentation
  • I will create a new PR to update the documentation

@Conaclos Conaclos requested review from a team, ematipico, leops and xunilrj as code owners December 22, 2022 11:32
@netlify
Copy link

netlify bot commented Dec 22, 2022

Deploy Preview for docs-rometools ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 5754bb5
🔍 Latest deploy log https://app.netlify.com/sites/docs-rometools/deploys/63a440474b3f6e0007438754
😎 Deploy Preview https://deploy-preview-4088--docs-rometools.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@github-actions
Copy link

github-actions bot commented Jan 5, 2023

This PR is stale because it has been open 14 days with no activity.

@ematipico ematipico merged commit 44a0933 into rome:main Jan 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants