JavaScript's parseInt function just decided that 0.0000005 equals 5 because scientific notation turned it into "5e-7" and parseInt grabbed just the "5" like a toddler picking only the M&Ms out of trail mix. Six decimal places? Nah, too much work. Five? Still zero. Seven? BOOM, suddenly 5. It's like JavaScript was programmed by someone rolling dice to determine behavior. No wonder developers drink.
Someone Explain This To Me Like Im Five
21 days ago
76,959 views
0 shares

javascript-memes, parseint-memes, bugs-memes, floating-point-memes, scientific-notation-memes | ProgrammerHumor.io
More Like This
When you just employed front-end developers.
2 years ago
17.5K views
0 shares

A man of culture
2 years ago
18.0K views
0 shares

Dear recruiter
1 year ago
75.5K views
0 shares

Since when?
3 years ago
47.8K views
0 shares

How did you get like that?
3 months ago
57.3K views
0 shares

Loading more content...