Thanks for the post! There are also the circumstances when the -, * and / operators are used with strings that are not numbers like -'string'; or 'string' * '5'; and they just evaluate to NaN.
Backend developer with 4+ years' experience in Laravel, Django & PostgreSQL. Skilled in full-stack dev, APIs, and scalable solutions. Open to new opportunities!
Backend developer with 4+ years' experience in Laravel, Django & PostgreSQL. Skilled in full-stack dev, APIs, and scalable solutions. Open to new opportunities!
Thanks for the post! There are also the circumstances when the -, * and / operators are used with strings that are not numbers like -'string'; or 'string' * '5'; and they just evaluate to NaN.
Glad you liked it! π
I'm happy you noticed that, actually I said earlier that if you converted a
stringthat contains text it'll beNaNin the pervious part β².JavaScript Struggles - Part 2 | Numbers
βAbdelraαΈ₯man Dwedar π¨π»βπ»π΅πΈ γ» Oct 30 γ» 2 min read
Thanks for the quick answer, I will check the rest of the parts of this series since it has interesting information.
Thanks for reading, I hope you liked them. π