Olası Çoğalt: Nasıl JS ayrıştırma
JavaScript function parseInt() doesn't parse numbers with leading 0 correctlyparseInt ("08") = 0, parseInt ("07") gelir = 7
Garip sorunlar oluşur.
parseInt("08")
//The result is: 0
parseInt("07")
//The result is: 7
Bu neden oluyor? 0 önek nedeniyle
Ben bu sorunu var havn't! – Amir
https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/parseInt – BalusC