JSほとんど書いたことないけど,この仕様クソこわすぎる

dduckdduck のブックマーク 2019/06/22 11:00

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

Why ['1', '7', '11'].map(parseInt) returns [1, NaN, 3] in Javascript

    ???Javascript is weird. Don’t believe me? Try converting an array of strings into integers using map and parseInt. Fire up your console (F12 on Chrome), paste in the following, and press enter (or ...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう