Eric TonginDailyJSWhy ['1', '7', '11'].map(parseInt) returns [1, NaN, 3] in JavascriptJavascript is weird.Jun 12, 201973Jun 12, 201973
Eric TonginWe’ve moved to freeCodeCamp.org/newsWhat I’ve learned about front-end development from age 12 to 2210 years ago, I made my first website. Here’s what I’ve learned since.Mar 29, 20196Mar 29, 20196
Eric TongThe best way to remove the first element of an array in Javascript — shift() vs splice()In Javascript, there are two methods for removing the first element of an array: shift() and splice(). Which one should you use?Jan 2, 2019Jan 2, 2019