Update formatting

This commit is contained in:
Isabelle Viktoria Maciohsek
2022-01-30 12:44:55 +02:00
parent 3c93fc370a
commit 008105c181
4 changed files with 6 additions and 6 deletions

View File

@ -8,7 +8,7 @@ lastUpdated: 2020-10-22T20:23:26+03:00
Checks if the given value is a number.
- Use `parseFloat()` to try to convert `n` to a number.
- Use `!Number.isNaN()` to check if `num` is a number.
- Use `Number.isNaN()` and logical not (`!`) operator to check if `num` is a number.
- Use `Number.isFinite()` to check if `num` is finite.
- Use `Number()` and the loose equality operator (`==`) to check if the coercion holds.