Infinity in JavaScript

added by JavaScript Kicks
12/18/2019 8:10:44 AM

283 Views

Infinity in JavaScript is a special number with an interesting property: it's bigger than any finite number. Without knowing the properties of Infinity in advance, you might be surprised how infinite numbers perform in conditionals and arithmetical operations. Let's look at the properties of Infinity number in JavaScript, understand the use cases and be aware of common pitfalls.


0 comments