Beenish Khan·May 31, 2024Why [‘1’, ‘9’, ‘3’].map(parseInt) returns [1, NaN, Nan] in JavascriptJavaScript is known for its flexibility and the quirky behaviors that arise from its dynamic typing and functional capabilities. One such…
Emre Avcılar·Sep 11, 2023JavaScript: parseInt() vs Number()This is an issue that I see in projects. In this article, I will explain why you should use Number() instead of parseInt().
Dinusha Somarathne·Jun 23, 2023JavaScript — Type ConversionType conversion is the process of converting data of one type to another. For example:- 1. Convert Strings to Numbers 2. Convert Numbers…