Code IconJoy Zhao
🏠 Home👨‍💻 About🛠️ Services📝 Blog
🏠 Home👨‍💻 About🛠️ Services🚀 Projects📝 Blog

Traps

Tag: 1 posts

Categories

DevOps Development Tools Frontend Development

Tags

# Actions # Automated Deployment # Browser # CI/CD # Convention # Docusaurus # Frontend # Frontend Framework # Functional Programming # Git # Gitea # JavaScript # Rendering Principles # TailwindCSS # Traps # Version Control
The Trap of Using map with parseInt in JavaScript

The Trap of Using map with parseInt in JavaScript

This article analyzes in detail why ["1","2","3"].map(parseInt) returns [1, NaN, NaN] in JavaScript, revealing this common JavaScript trap by examining how map and parseInt methods work.

# JavaScript # Functional Programming # Traps
2023-09-15 3 min read
Read More

© 2025 Joy Zhao. All rights reserved ✨

Looking for a Frontend/TS Full-stack Engineer (Remote)? Contact me!

Built with 💻 and ❤️